Reports talk:Tasks not implemented in 68000 Assembly

From Rosetta Code
Revision as of 11:04, 21 January 2014 by rosettacode>Gatmo (Task too simple?)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

What about tasks that are too simple to be worth considering in a language? In almost any machine/assembly language, "address of a variable" is just an addressing mode, only a part of a single instruction. Further, it depends on where you chose to put the variable, which may be arbitrary. For instance, for the 68000, addressing a register variable is just e.g. D1. Or the variable could be in random memory, on a heap or stack, etc. Basically, any memory address or register that the program can read and write could hold a variable.