Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.world

Need an opinion - STO Y (Y)

Assembly language programmers:

Do you see any use at all for an instruction STORE register Y in the memory location pointed to by register Y ?

I am writing my own 8-bit computer emulator for a machine with an ISA I designed myself, and the quest for orthogonality has led to this.

View original on lemmy.world
12

1 reply

Why would you? Effectively you are storing the address of the address at the address. It would get more complicated if there where post/pre increments or index offsets involved.

4

You reached the end

Need an opinion - STO Y (Y) | Spyke