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.

12 points · 1 comments · view on lemmy.world

1 Comments

stsquad@lemmy.ml · 4 pts · 1y

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.