word works with negative numbers now.

symbols moved to head of machine code.
This commit is contained in:
Simon Forman
2019-11-10 10:53:55 -08:00
parent 4a39d82c75
commit 2e301fa6c3
4 changed files with 83 additions and 47 deletions
+56 -42
View File
@@ -1,97 +1,111 @@
[word(0),
do_offset(_7910),
allocate(_7920,20),
label(_7910),
do_offset(_2170),
allocate(_2180,20),
label(_2170),
mov_imm(0,0),
store_word(0,0,0),
mov_imm(0,4096),
mov_imm(1,_7982),
mov_imm(1,_2242),
mov_imm(2,0),
mov_imm(3,0),
store_word(2,0,0),
label(_8030),
labelv_imm(3,0),
store_word(2,0,0),
label(_2290),
sub_imm(1,1,0),
eq_offset(_8042),
eq_offset(_2302),
load_word(4,1,0),
lsl_imm(5,4,2),
asr_imm(5,5,17),
eq_offset(_8158),
eq_offset(_24346,4,17),
asr_imm(6,6,17),
eq_offset(),
add(5,5,1),
label(_8158),
label(_2434),
lsl_imm(6,4,17),
asr_imm(6,6,17),
eq_offset(_8220),
eq_offset(_2502),
add(6,6,1),
label(_8220),
label(_2502),
load_word(3,5,0),
mov(1,6),
asr_imm(6,3,30),
asr_imm(6,3,t(6,16383),
ior_imm(6,6,65535),
and(30),
and_imm(6,6,2),
sub_imm(6,6,2),
ne_offset(_8322),
ne_offset(_2564),
mov_imm_with_shift(6,16383),
ior_imm(6,6,65535),
and(6,6,3),
do(6),
label(_8322),
sub_imm(0,0,4),
label(_2564),
sub_imm(0(_2810),
store_word(2,0,0),
do_offse,0,4),
sub(2,5,0),
hi_offset(_8424),
hi_offset(_2748),
and_imm(2,2,32767),
label(_8424),
label(_2748),
lsl_imm(2,2,15),
ior_imm(2,2,4),
label(_8486),
label(_2810),
store_word(2,0,0),
do_offset(_8030),
label(_8042),
do_offset(_8042),
label(_8540),
do_offset,lsl_imm(2,2,17),
asr_imm(2,2,17),
e(_2290),
label(_2302),
do_offset(_2302),
label(_2864),
symbol(_2864),
lsl_imm(6,2,2),
asr_imm(6,6,17),
eq_offset(_8656),
eq_offset(_3064),
add(6,6,0),
label(_8656),
lsl_imm(2,2,17),
label(_3064),
9,7,17),
asr_imm(9,9,17),
eq_offset(lsl_imm(2,2,17),
asr_imm(2,2,17),
eq_offset(_8718),
eq_offset(_3132),
add(2,2,0),
label(_8718),
label(_3132),
load_word(7,2,0),
lsl_imm(8,7,2),
asr_imm(8,8,17),
eq_offset(_8794),
add(8,8,2),
label(_8794),
eq_offset(_3214)q_offset(_3394),
sub(6,6,0),
and_imm,add(8,8,2),
label(_3214),
lsl_imm(9,7,17),
asr_imm(9,9,17),
eq_offset(_8856),
eq_offset(_3282),
add(9,9,2),
label(_8856),
label(_3282),
sub_imm(0,0,4),
sub_imm(8,8,0),
eq_offset(_8900),
eq_offset,9,32767),
label(_3518),
mov_imm_wit(_3326),
sub(8,8,0),
and_imm(8,8,32767),
label(_8900),
label(_3326),
sub_imm(6,6,0),
eq_offset(_8968),
eq_offset(_3394),
sub(6,6,0),
and_imm(6,6,32767),
label(_8968),
label(_3394),
lsl_imm(8,8,15),
ior(8,8,6),
store_word(8,0,0),
sub_imm(0,0,4),
sub_imm(9,9,0),
eq_offset(_9114),
eq_offset(_3518),
sub(9,9,0),
and_imm(9,9,32767),
label(_9114),
label(_3518),
mov_imm_with_shift(2,2),
ior(2,2,9),
do_offset(_8486),
label(_7982),
expr_cell(_9232,0),
label(_9232),
symbol(_8540)]
do_offset(_2810),
label(_2242),
expr_cell(_2864,0)]