Using WR with a few odd-ball opcodes
tonyp12
Posts: 1,951
TEST,CMP and JMP are just NR versions of AND,SUB and JMPRET
But these 5 odd-balls don't have a WR parent, what would happened if you did include WR?
110000 000i CMPS
110001 000i CMPSX
110011 000i CMPX
111010 000i TJNZ
111011 000i TJZ
From a previous post about jmp tables, less longs used would be if there was a DJZ
But I don't think a TJZ with WR could emulate that?
Mov index,pointer wz
if_z jmp #loc0
djz index,#loc1 ' there is no djz
djz index,#loc2
djz index,#loc3
But these 5 odd-balls don't have a WR parent, what would happened if you did include WR?
110000 000i CMPS
110001 000i CMPSX
110011 000i CMPX
111010 000i TJNZ
111011 000i TJZ
From a previous post about jmp tables, less longs used would be if there was a DJZ
But I don't think a TJZ with WR could emulate that?
Mov index,pointer wz
if_z jmp #loc0
djz index,#loc1 ' there is no djz
djz index,#loc2
djz index,#loc3
Comments