00000040 @IC+0@00fc00 @OC@ r0,r1,256
00000048 @IC+0@1f0400 @OC@ r0,-257,r2
00000050 @IC+7@c08400 @OC@ 511,r1,r2
-00000058 @IC+0@1f7c00 @OC@ r0,1111638594,1111638594
-00000060 @IC+7@df7c00 @OC@ 305419896,305419896,305419896
+00000058 @IC+0@1f0400 @OC@ r0,1111638594,r2
+00000060 @IC+7@c0fc00 @OC@ 305419896,r1,305419896
00000068 @IC+0@1ffcff @OC@ r0,255,256
00000070 @IC+0@1f7eff @OC@ r0,256,255
00000078 @IC+7@e0fcff @OC@ 255,r1,256
000000e4 @IC+6@7a6a07 @OC@.v r51,r52,r53
000000e8 @IC+6@dbf008 @OC@.nv r54,r55,r56
000000ec @IC+7@3d7608 @OC@.nv r57,r58,r59
-000000f0 @IC+7@9e7809 @OC@.gt lp_count,lp_count,lp_count
+000000f0 @IC+7@9e0009 @OC@.gt lp_count,lp_count,r0
000000f4 @IC+0@007c0a @OC@.ge r0,r0,0
000000fc @IC+0@3f020b @OC@.lt r1,1,r1
-00000104 @IC+7@c1040c @OC@.le 2,r2,r2
-0000010c @IC+0@7f7c0d @OC@.hi r3,3,3
+00000104 @IC+7@c0840c @OC@.le 2,r1,r2
+0000010c @IC+0@7f060d @OC@.hi r3,3,r3
00000114 @IC+7@df080e @OC@.ls 4,4,r4
-0000011c @IC+7@df7c0f @OC@.pnz 5,5,5
+0000011c @IC+7@c2fc0f @OC@.pnz 5,r5,5
00000124 @IC+0@008500 @OC@.f r0,r1,r2
00000128 @IC+0@00fa01 @OC@.f r0,r1,1
0000012c @IC+0@1e8401 @OC@.f r0,1,r2
# @OC@ test
+# Stay away from operands with duplicate arguments (eg: add r0,r1,r1).
+# They will be disassembled as they're macro counterparts (eg: asl r0,r1).
+
# reg,reg,reg
@OC@ r0,r1,r2
@OC@ r26,fp,sp
@OC@ r0,r1,256
@OC@ r0,-257,r2
@OC@ 511,r1,r2
- @OC@ r0,0x42424242,0x42424242
- @OC@ 0x12345678,0x12345678,0x12345678
+ @OC@ r0,0x42424242,r2
+ @OC@ 0x12345678,r1,0x12345678
# shimm and limm
@OC@ r0,255,256
@OC@.v r51,r52,r53
@OC@.vc r54,r55,r56
@OC@.nv r57,r58,r59
- @OC@.gt r60,r60,r60
+ @OC@.gt r60,r60,r0
@OC@.ge r0,r0,0
@OC@.lt r1,1,r1
- @OC@.le 2,r2,r2
- @OC@.hi r3,3,3
+ @OC@.le 2,r1,r2
+ @OC@.hi r3,3,r3
@OC@.ls 4,4,r4
- @OC@.pnz 5,5,5
+ @OC@.pnz 5,r5,5
# flag setting
@OC@.f r0,r1,r2