Reflection/Get source: Difference between revisions
m
→{{header|6502 Assembly}}: formatting
Puppydrum64 (talk | contribs) No edit summary |
Puppydrum64 (talk | contribs) m (→{{header|6502 Assembly}}: formatting) |
||
Line 12:
Such a printing routine would work best if it substituted the null terminator for $60 (the <code>RTS</code> instruction.) This would only print the bytecode for the routine. Conversion to assembly language would need to be done separately.
<lang 6502asm>LDA #<foo
sta $00
LDA #>foo
Line 37 ⟶ 36:
jsr PrintHex ;print the last instruction of the routine.
rts</lang>
=={{header|Clojure}}==
|