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.

  • Alex@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    19 hours ago

    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.