Jump anywhere: Difference between revisions
Content added Content deleted
(Added VTL-2) |
Puppydrum64 (talk | contribs) m (→Absolute Jumps) |
||
Line 174: | Line 174: | ||
DC.L MoveMouse, DC.L ReadJoystick, DC.L ReadKeyboard, DC.L PrintString</lang> |
DC.L MoveMouse, DC.L ReadJoystick, DC.L ReadKeyboard, DC.L PrintString</lang> |
||
===Indirect Jumps=== |
|||
In addition to a fixed memory address, you can also <code>JMP</code> to the value stored in an address register (effectively <code>MOVE.L An,PC</code> if such a thing existed), or you can dereference the pointer stored in an address register and jump to that instead. |
|||
=={{header|8086 Assembly}}== |
=={{header|8086 Assembly}}== |