Posted: Fri Jul 08, 2011 11:07 pm
...and making those changes gives me this:
...which I think is what you are looking for. If not, well, more changes can be made!
Code: Select all
; a "big-endian" cpu/byte order definition:
.cpu T_32_M16 ; required psop
.assume BIT32=1032, BIT32R=3210
.org $f800 ; on zero page, hmm
.include "i6502.a"
; -------------------------------
0000:F800 00 53 00 65 .string "Send 6502 code in"
0000:F802 00 6E 00 64
0000:F804 00 20 00 36
0000:F806 00 35 00 30
0000:F808 00 32 00 20
0000:F80A 00 63 00 6F
0000:F80C 00 64 00 65
0000:F80E 00 20 00 69
0000:F810 00 6E
0000:F811 00 0D .byte 13, 10
0000:F812 00 0A
sta $F000
^0000:F813 00 85 .byte ]opc
^0000:F814 F0 00 .ubyte val(]adr$)