Need an opinion - STO Y (Y)
from waspentalive@lemmy.world to programming@programming.dev on 04 Jul 04:20
https://lemmy.world/post/32443226

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.

#programming

threaded - newest

stsquad@lemmy.ml on 04 Jul 09:40 collapse

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.