Reflection/Get source: Difference between revisions

m
No edit summary
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
LDA #<foo
sta $00
LDA #>foo
Line 37 ⟶ 36:
jsr PrintHex ;print the last instruction of the routine.
rts</lang>
 
 
 
=={{header|Clojure}}==
1,489

edits