* gdb.disasm/t01_mov.s: Remove carriage returns.
* gdb.disasm/t02_mova.s: Ditto. * gdb.disasm/t03_add.s: Ditto. * gdb.disasm/t04_sub.s: Ditto. * gdb.disasm/t05_cmp.s: Ditto. * gdb.disasm/t06_ari2.s: Ditto. * gdb.disasm/t07_ari3.s: Ditto. * gdb.disasm/t08_or.s: Ditto. * gdb.disasm/t09_xor.s: Ditto. * gdb.disasm/t10_and.s: Ditto. * gdb.disasm/t11_logs.s: Ditto. * gdb.disasm/t12_bit.s: Ditto. * gdb.disasm/t13_otr.s: Ditto.
This commit is contained in:
parent
086280be76
commit
5b01a6fa22
@ -1,3 +1,19 @@
|
||||
2007-11-02 Doug Evans <dje@google.com>
|
||||
|
||||
* gdb.disasm/t01_mov.s: Remove carriage returns.
|
||||
* gdb.disasm/t02_mova.s: Ditto.
|
||||
* gdb.disasm/t03_add.s: Ditto.
|
||||
* gdb.disasm/t04_sub.s: Ditto.
|
||||
* gdb.disasm/t05_cmp.s: Ditto.
|
||||
* gdb.disasm/t06_ari2.s: Ditto.
|
||||
* gdb.disasm/t07_ari3.s: Ditto.
|
||||
* gdb.disasm/t08_or.s: Ditto.
|
||||
* gdb.disasm/t09_xor.s: Ditto.
|
||||
* gdb.disasm/t10_and.s: Ditto.
|
||||
* gdb.disasm/t11_logs.s: Ditto.
|
||||
* gdb.disasm/t12_bit.s: Ditto.
|
||||
* gdb.disasm/t13_otr.s: Ditto.
|
||||
|
||||
2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,238 +1,238 @@
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;mova
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
.h8300sx
|
||||
.text
|
||||
.global _start
|
||||
_start:
|
||||
mova/b.c @(0x1234:16,r3l.b),er1 ;7A891234
|
||||
mova/b.c @(0x1234:16,r3.w),er1 ;7A991234
|
||||
mova/w.c @(0x1234:16,r3l.b),er1 ;7AA91234
|
||||
mova/w.c @(0x1234:16,r3.w),er1 ;7AB91234
|
||||
mova/l.c @(0x1234:16,r3l.b),er1 ;7AC91234
|
||||
mova/l.c @(0x1234:16,r3.w),er1 ;7AD91234
|
||||
mova/b.c @(0x12345678:32,r3l.b),er1 ;7A8112345678
|
||||
mova/b.c @(0x12345678:32,r3.w),er1 ;7A9112345678
|
||||
mova/w.c @(0x12345678:32,r3l.b),er1 ;7AA112345678
|
||||
mova/w.c @(0x12345678:32,r3.w),er1 ;7AB112345678
|
||||
mova/l.c @(0x12345678:32,r3l.b),er1 ;7AC112345678
|
||||
mova/l.c @(0x12345678:32,r3.w),er1 ;7AD112345678
|
||||
|
||||
mova/b.l @(0x1234:16,r3l.b),er1 ;78B87A891234
|
||||
mova/b.l @(0x1234:16,r3.w),er1 ;78397A991234
|
||||
mova/w.l @(0x1234:16,r3l.b),er1 ;78B87AA91234
|
||||
mova/w.l @(0x1234:16,r3.w),er1 ;78397AB91234
|
||||
mova/l.l @(0x1234:16,r3l.b),er1 ;78B87AC91234
|
||||
mova/l.l @(0x1234:16,r3.w),er1 ;78397AD91234
|
||||
mova/b.l @(0x12345678:32,r3l.b),er1 ;78B87A8112345678
|
||||
mova/b.l @(0x12345678:32,r3.w),er1 ;78397A9112345678
|
||||
mova/w.l @(0x12345678:32,r3l.b),er1 ;78B87AA112345678
|
||||
mova/w.l @(0x12345678:32,r3.w),er1 ;78397AB112345678
|
||||
mova/l.l @(0x12345678:32,r3l.b),er1 ;78B87AC112345678
|
||||
mova/l.l @(0x12345678:32,r3.w),er1 ;78397AD112345678
|
||||
|
||||
mova/b.l @(0x1234:16,@er2.b),er1 ;017F02811234
|
||||
mova/b.l @(0x1234:16,@(0x1:2,er2).b),er1 ;017F12811234
|
||||
mova/b.l @(0x1234:16,@er2+.b),er1 ;017F82811234
|
||||
mova/b.l @(0x1234:16,@-er2.b),er1 ;017FB2811234
|
||||
mova/b.l @(0x1234:16,@+er2.b),er1 ;017F92811234
|
||||
mova/b.l @(0x1234:16,@er2-.b),er1 ;017FA2811234
|
||||
mova/b.l @(0x1234:16,@(0xFFFF9ABC:16,er2).b),er1 ;017FC2819ABC1234
|
||||
mova/b.l @(0x1234:16,@(0x9ABCDEF0:32,er2).b),er1 ;017FCA819ABCDEF01234
|
||||
mova/b.l @(0x1234:16,@(0xFFFF9ABC:16,r2L.b).b),er1 ;017FD2819ABC1234
|
||||
mova/b.l @(0x1234:16,@(0xFFFF9ABC:16,r2.w).b),er1 ;017FE2819ABC1234
|
||||
mova/b.l @(0x1234:16,@(0xFFFF9ABC:16,er2.l).b),er1 ;017FF2819ABC1234
|
||||
mova/b.l @(0x1234:16,@(0x9ABCDEF0:32,r2L.b).b),er1 ;017FDA819ABCDEF01234
|
||||
mova/b.l @(0x1234:16,@(0x9ABCDEF0:32,r2.w).b),er1 ;017FEA819ABCDEF01234
|
||||
mova/b.l @(0x1234:16,@(0x9ABCDEF0:32,er2.l).b),er1 ;017FFA819ABCDEF01234
|
||||
mova/b.l @(0x1234:16,@0xFFFF9ABC:16.b),er1 ;017F40819ABC1234
|
||||
mova/b.l @(0x1234:16,@0x9ABCDEF0:32.b),er1 ;017F48819ABCDEF01234
|
||||
|
||||
mova/b.l @(0x1234:16,@er2.w),er1 ;015F02911234
|
||||
mova/b.l @(0x1234:16,@(0x2:2,er2).w),er1 ;015F12911234
|
||||
mova/b.l @(0x1234:16,@er2+.w),er1 ;015F82911234
|
||||
mova/b.l @(0x1234:16,@-er2.w),er1 ;015FB2911234
|
||||
mova/b.l @(0x1234:16,@+er2.w),er1 ;015F92911234
|
||||
mova/b.l @(0x1234:16,@er2-.w),er1 ;015FA2911234
|
||||
mova/b.l @(0x1234:16,@(0xFFFF9ABC:16,er2).w),er1 ;015FC2919ABC1234
|
||||
mova/b.l @(0x1234:16,@(0x9ABCDEF0:32,er2).w),er1 ;015FCA919ABCDEF01234
|
||||
mova/b.l @(0x1234:16,@(0xFFFF9ABC:16,r2L.b).w),er1 ;015FD2919ABC1234
|
||||
mova/b.l @(0x1234:16,@(0xFFFF9ABC:16,r2.w).w),er1 ;015FE2919ABC1234
|
||||
mova/b.l @(0x1234:16,@(0xFFFF9ABC:16,er2.l).w),er1 ;015FF2919ABC1234
|
||||
mova/b.l @(0x1234:16,@(0x9ABCDEF0:32,r2L.b).w),er1 ;015FDA919ABCDEF01234
|
||||
mova/b.l @(0x1234:16,@(0x9ABCDEF0:32,r2.w).w),er1 ;015FEA919ABCDEF01234
|
||||
mova/b.l @(0x1234:16,@(0x9ABCDEF0:32,er2.l).w),er1 ;015FFA919ABCDEF01234
|
||||
mova/b.l @(0x1234:16,@0xFFFF9ABC:16.w),er1 ;015F40919ABC1234
|
||||
mova/b.l @(0x1234:16,@0x9ABCDEF0:32.w),er1 ;015F48919ABCDEF01234
|
||||
|
||||
mova/w.l @(0x1234:16,@er2.b),er1 ;017F02A11234
|
||||
mova/w.l @(0x1234:16,@(0x1:2,er2).b),er1 ;017F12A11234
|
||||
mova/w.l @(0x1234:16,@er2+.b),er1 ;017F82A11234
|
||||
mova/w.l @(0x1234:16,@-er2.b),er1 ;017FB2A11234
|
||||
mova/w.l @(0x1234:16,@+er2.b),er1 ;017F92A11234
|
||||
mova/w.l @(0x1234:16,@er2-.b),er1 ;017FA2A11234
|
||||
mova/w.l @(0x1234:16,@(0xFFFF9ABC:16,er2).b),er1 ;017FC2A19ABC1234
|
||||
mova/w.l @(0x1234:16,@(0x9ABCDEF0:32,er2).b),er1 ;017FCAA19ABCDEF01234
|
||||
mova/w.l @(0x1234:16,@(0xFFFF9ABC:16,r2L.b).b),er1 ;017FD2A19ABC1234
|
||||
mova/w.l @(0x1234:16,@(0xFFFF9ABC:16,r2.w).b),er1 ;017FE2A19ABC1234
|
||||
mova/w.l @(0x1234:16,@(0xFFFF9ABC:16,er2.l).b),er1 ;017FF2A19ABC1234
|
||||
mova/w.l @(0x1234:16,@(0x9ABCDEF0:32,r2L.b).b),er1 ;017FDAA19ABCDEF01234
|
||||
mova/w.l @(0x1234:16,@(0x9ABCDEF0:32,r2.w).b),er1 ;017FEAA19ABCDEF01234
|
||||
mova/w.l @(0x1234:16,@(0x9ABCDEF0:32,er2.l).b),er1 ;017FFAA19ABCDEF01234
|
||||
mova/w.l @(0x1234:16,@0xFFFF9ABC:16.b),er1 ;017F40A19ABC1234
|
||||
mova/w.l @(0x1234:16,@0x9ABCDEF0:32.b),er1 ;017F48A19ABCDEF01234
|
||||
|
||||
mova/w.l @(0x1234:16,@er2.w),er1 ;015F02B11234
|
||||
mova/w.l @(0x1234:16,@(0x2:2,er2).w),er1 ;015F12B11234
|
||||
mova/w.l @(0x1234:16,@er2+.w),er1 ;015F82B11234
|
||||
mova/w.l @(0x1234:16,@-er2.w),er1 ;015FB2B11234
|
||||
mova/w.l @(0x1234:16,@+er2.w),er1 ;015F92B11234
|
||||
mova/w.l @(0x1234:16,@er2-.w),er1 ;015FA2B11234
|
||||
mova/w.l @(0x1234:16,@(0xFFFF9ABC:16,er2).w),er1 ;015FC2B19ABC1234
|
||||
mova/w.l @(0x1234:16,@(0x9ABCDEF0:32,er2).w),er1 ;015FCAB19ABCDEF01234
|
||||
mova/w.l @(0x1234:16,@(0xFFFF9ABC:16,r2L.b).w),er1 ;015FD2B19ABC1234
|
||||
mova/w.l @(0x1234:16,@(0xFFFF9ABC:16,r2.w).w),er1 ;015FE2B19ABC1234
|
||||
mova/w.l @(0x1234:16,@(0xFFFF9ABC:16,er2.l).w),er1 ;015FF2B19ABC1234
|
||||
mova/w.l @(0x1234:16,@(0x9ABCDEF0:32,r2L.b).w),er1 ;015FDAB19ABCDEF01234
|
||||
mova/w.l @(0x1234:16,@(0x9ABCDEF0:32,r2.w).w),er1 ;015FEAB19ABCDEF01234
|
||||
mova/w.l @(0x1234:16,@(0x9ABCDEF0:32,er2.l).w),er1 ;015FFAB19ABCDEF01234
|
||||
mova/w.l @(0x1234:16,@0xFFFF9ABC:16.w),er1 ;015F40B19ABC1234
|
||||
mova/w.l @(0x1234:16,@0x9ABCDEF0:32.w),er1 ;015F48B19ABCDEF01234
|
||||
|
||||
mova/l.l @(0x1234:16,@er2.b),er1 ;017F02C11234
|
||||
mova/l.l @(0x1234:16,@(0x1:2,er2).b),er1 ;017F12C11234
|
||||
mova/l.l @(0x1234:16,@er2+.b),er1 ;017F82C11234
|
||||
mova/l.l @(0x1234:16,@-er2.b),er1 ;017FB2C11234
|
||||
mova/l.l @(0x1234:16,@+er2.b),er1 ;017F92C11234
|
||||
mova/l.l @(0x1234:16,@er2-.b),er1 ;017FA2C11234
|
||||
mova/l.l @(0x1234:16,@(0xFFFF9ABC:16,er2).b),er1 ;017FC2C19ABC1234
|
||||
mova/l.l @(0x1234:16,@(0x9ABCDEF0:32,er2).b),er1 ;017FCAC19ABCDEF01234
|
||||
mova/l.l @(0x1234:16,@(0xFFFF9ABC:16,r2L.b).b),er1 ;017FD2C19ABC1234
|
||||
mova/l.l @(0x1234:16,@(0xFFFF9ABC:16,r2.w).b),er1 ;017FE2C19ABC1234
|
||||
mova/l.l @(0x1234:16,@(0xFFFF9ABC:16,er2.l).b),er1 ;017FF2C19ABC1234
|
||||
mova/l.l @(0x1234:16,@(0x9ABCDEF0:32,r2L.b).b),er1 ;017FDAC19ABCDEF01234
|
||||
mova/l.l @(0x1234:16,@(0x9ABCDEF0:32,r2.w).b),er1 ;017FEAC19ABCDEF01234
|
||||
mova/l.l @(0x1234:16,@(0x9ABCDEF0:32,er2.l).b),er1 ;017FFAC19ABCDEF01234
|
||||
mova/l.l @(0x1234:16,@0xFFFF9ABC:16.b),er1 ;017F40C19ABC1234
|
||||
mova/l.l @(0x1234:16,@0x9ABCDEF0:32.b),er1 ;017F48C19ABCDEF01234
|
||||
|
||||
mova/l.l @(0x1234:16,@er2.w),er1 ;015F02D11234
|
||||
mova/l.l @(0x1234:16,@(0x2:2,er2).w),er1 ;015F12D11234
|
||||
mova/l.l @(0x1234:16,@er2+.w),er1 ;015F82D11234
|
||||
mova/l.l @(0x1234:16,@-er2.w),er1 ;015FB2D11234
|
||||
mova/l.l @(0x1234:16,@+er2.w),er1 ;015F92D11234
|
||||
mova/l.l @(0x1234:16,@er2-.w),er1 ;015FA2D11234
|
||||
mova/l.l @(0x1234:16,@(0xFFFF9ABC:16,er2).w),er1 ;015FC2D19ABC1234
|
||||
mova/l.l @(0x1234:16,@(0x9ABCDEF0:32,er2).w),er1 ;015FCAD19ABCDEF01234
|
||||
mova/l.l @(0x1234:16,@(0xFFFF9ABC:16,r2L.b).w),er1 ;015FD2D19ABC1234
|
||||
mova/l.l @(0x1234:16,@(0xFFFF9ABC:16,r2.w).w),er1 ;015FE2D19ABC1234
|
||||
mova/l.l @(0x1234:16,@(0xFFFF9ABC:16,er2.l).w),er1 ;015FF2D19ABC1234
|
||||
mova/l.l @(0x1234:16,@(0x9ABCDEF0:32,r2L.b).w),er1 ;015FDAD19ABCDEF01234
|
||||
mova/l.l @(0x1234:16,@(0x9ABCDEF0:32,r2.w).w),er1 ;015FEAD19ABCDEF01234
|
||||
mova/l.l @(0x1234:16,@(0x9ABCDEF0:32,er2.l).w),er1 ;015FFAD19ABCDEF01234
|
||||
mova/l.l @(0x1234:16,@0xFFFF9ABC:16.w),er1 ;015F40D19ABC1234
|
||||
mova/l.l @(0x1234:16,@0x9ABCDEF0:32.w),er1 ;015F48D19ABCDEF01234
|
||||
|
||||
mova/b.l @(0x12345678:32,@er2.b),er1 ;017F028912345678
|
||||
mova/b.l @(0x12345678:32,@(0x1:2,er2).b),er1 ;017F128912345678
|
||||
mova/b.l @(0x12345678:32,@er2+.b),er1 ;017F828912345678
|
||||
mova/b.l @(0x12345678:32,@-er2.b),er1 ;017FB28912345678
|
||||
mova/b.l @(0x12345678:32,@+er2.b),er1 ;017F928912345678
|
||||
mova/b.l @(0x12345678:32,@er2-.b),er1 ;017FA28912345678
|
||||
mova/b.l @(0x12345678:32,@(0xFFFF9ABC:16,er2).b),er1 ;017FC2899ABC12345678
|
||||
mova/b.l @(0x12345678:32,@(0x9ABCDEF0:32,er2).b),er1 ;017FCA899ABCDEF012345678
|
||||
mova/b.l @(0x12345678:32,@(0xFFFF9ABC:16,r2L.b).b),er1 ;017FD2899ABC12345678
|
||||
mova/b.l @(0x12345678:32,@(0xFFFF9ABC:16,r2.w).b),er1 ;017FE2899ABC12345678
|
||||
mova/b.l @(0x12345678:32,@(0xFFFF9ABC:16,er2.l).b),er1 ;017FF2899ABC12345678
|
||||
mova/b.l @(0x12345678:32,@(0x9ABCDEF0:32,r2L.b).b),er1 ;017FDA899ABCDEF012345678
|
||||
mova/b.l @(0x12345678:32,@(0x9ABCDEF0:32,r2.w).b),er1 ;017FEA899ABCDEF012345678
|
||||
mova/b.l @(0x12345678:32,@(0x9ABCDEF0:32,er2.l).b),er1 ;017FFA899ABCDEF012345678
|
||||
mova/b.l @(0x12345678:32,@0xFFFF9ABC:16.b),er1 ;017F40899ABC12345678
|
||||
mova/b.l @(0x12345678:32,@0x9ABCDEF0:32.b),er1 ;017F48899ABCDEF012345678
|
||||
|
||||
mova/b.l @(0x12345678:32,@er2.w),er1 ;015F029912345678
|
||||
mova/b.l @(0x12345678:32,@(0x2:2,er2).w),er1 ;015F129912345678
|
||||
mova/b.l @(0x12345678:32,@er2+.w),er1 ;015F829912345678
|
||||
mova/b.l @(0x12345678:32,@-er2.w),er1 ;015FB29912345678
|
||||
mova/b.l @(0x12345678:32,@+er2.w),er1 ;015F929912345678
|
||||
mova/b.l @(0x12345678:32,@er2-.w),er1 ;015FA29912345678
|
||||
mova/b.l @(0x12345678:32,@(0xFFFF9ABC:16,er2).w),er1 ;015FC2999ABC12345678
|
||||
mova/b.l @(0x12345678:32,@(0x9ABCDEF0:32,er2).w),er1 ;015FCA999ABCDEF012345678
|
||||
mova/b.l @(0x12345678:32,@(0xFFFF9ABC:16,r2L.b).w),er1 ;015FD2999ABC12345678
|
||||
mova/b.l @(0x12345678:32,@(0xFFFF9ABC:16,r2.w).w),er1 ;015FE2999ABC12345678
|
||||
mova/b.l @(0x12345678:32,@(0xFFFF9ABC:16,er2.l).w),er1 ;015FF2999ABC12345678
|
||||
mova/b.l @(0x12345678:32,@(0x9ABCDEF0:32,r2L.b).w),er1 ;015FDA999ABCDEF012345678
|
||||
mova/b.l @(0x12345678:32,@(0x9ABCDEF0:32,r2.w).w),er1 ;015FEA999ABCDEF012345678
|
||||
mova/b.l @(0x12345678:32,@(0x9ABCDEF0:32,er2.l).w),er1 ;015FFA999ABCDEF012345678
|
||||
mova/b.l @(0x12345678:32,@0xFFFF9ABC:16.w),er1 ;015F40999ABC12345678
|
||||
mova/b.l @(0x12345678:32,@0x9ABCDEF0:32.w),er1 ;015F48999ABCDEF012345678
|
||||
|
||||
mova/w.l @(0x12345678:32,@er2.b),er1 ;017F02A912345678
|
||||
mova/w.l @(0x12345678:32,@(0x1:2,er2).b),er1 ;017F12A912345678
|
||||
mova/w.l @(0x12345678:32,@er2+.b),er1 ;017F82A912345678
|
||||
mova/w.l @(0x12345678:32,@-er2.b),er1 ;017FB2A912345678
|
||||
mova/w.l @(0x12345678:32,@+er2.b),er1 ;017F92A912345678
|
||||
mova/w.l @(0x12345678:32,@er2-.b),er1 ;017FA2A912345678
|
||||
mova/w.l @(0x12345678:32,@(0xFFFF9ABC:16,er2).b),er1 ;017FC2A99ABC12345678
|
||||
mova/w.l @(0x12345678:32,@(0x9ABCDEF0:32,er2).b),er1 ;017FCAA99ABCDEF012345678
|
||||
mova/w.l @(0x12345678:32,@(0xFFFF9ABC:16,r2L.b).b),er1 ;017FD2A99ABC12345678
|
||||
mova/w.l @(0x12345678:32,@(0xFFFF9ABC:16,r2.w).b),er1 ;017FE2A99ABC12345678
|
||||
mova/w.l @(0x12345678:32,@(0xFFFF9ABC:16,er2.l).b),er1 ;017FF2A99ABC12345678
|
||||
mova/w.l @(0x12345678:32,@(0x9ABCDEF0:32,r2L.b).b),er1 ;017FDAA99ABCDEF012345678
|
||||
mova/w.l @(0x12345678:32,@(0x9ABCDEF0:32,r2.w).b),er1 ;017FEAA99ABCDEF012345678
|
||||
mova/w.l @(0x12345678:32,@(0x9ABCDEF0:32,er2.l).b),er1 ;017FFAA99ABCDEF012345678
|
||||
mova/w.l @(0x12345678:32,@0xFFFF9ABC:16.b),er1 ;017F40A99ABC12345678
|
||||
mova/w.l @(0x12345678:32,@0x9ABCDEF0:32.b),er1 ;017F48A99ABCDEF012345678
|
||||
|
||||
mova/w.l @(0x12345678:32,@er2.w),er1 ;015F02B912345678
|
||||
mova/w.l @(0x12345678:32,@(0x2:2,er2).w),er1 ;015F12B912345678
|
||||
mova/w.l @(0x12345678:32,@er2+.w),er1 ;015F82B912345678
|
||||
mova/w.l @(0x12345678:32,@-er2.w),er1 ;015FB2B912345678
|
||||
mova/w.l @(0x12345678:32,@+er2.w),er1 ;015F92B912345678
|
||||
mova/w.l @(0x12345678:32,@er2-.w),er1 ;015FA2B912345678
|
||||
mova/w.l @(0x12345678:32,@(0xFFFF9ABC:16,er2).w),er1 ;015FC2B99ABC12345678
|
||||
mova/w.l @(0x12345678:32,@(0x9ABCDEF0:32,er2).w),er1 ;015FCAB99ABCDEF012345678
|
||||
mova/w.l @(0x12345678:32,@(0xFFFF9ABC:16,r2L.b).w),er1 ;015FD2B99ABC12345678
|
||||
mova/w.l @(0x12345678:32,@(0xFFFF9ABC:16,r2.w).w),er1 ;015FE2B99ABC12345678
|
||||
mova/w.l @(0x12345678:32,@(0xFFFF9ABC:16,er2.l).w),er1 ;015FF2B99ABC12345678
|
||||
mova/w.l @(0x12345678:32,@(0x9ABCDEF0:32,r2L.b).w),er1 ;015FDAB99ABCDEF012345678
|
||||
mova/w.l @(0x12345678:32,@(0x9ABCDEF0:32,r2.w).w),er1 ;015FEAB99ABCDEF012345678
|
||||
mova/w.l @(0x12345678:32,@(0x9ABCDEF0:32,er2.l).w),er1 ;015FFAB99ABCDEF012345678
|
||||
mova/w.l @(0x12345678:32,@0xFFFF9ABC:16.w),er1 ;015F40B99ABC12345678
|
||||
mova/w.l @(0x12345678:32,@0x9ABCDEF0:32.w),er1 ;015F48B99ABCDEF012345678
|
||||
|
||||
mova/l.l @(0x12345678:32,@er2.b),er1 ;017F02C912345678
|
||||
mova/l.l @(0x12345678:32,@(0x1:2,er2).b),er1 ;017F12C912345678
|
||||
mova/l.l @(0x12345678:32,@er2+.b),er1 ;017F82C912345678
|
||||
mova/l.l @(0x12345678:32,@-er2.b),er1 ;017FB2C912345678
|
||||
mova/l.l @(0x12345678:32,@+er2.b),er1 ;017F92C912345678
|
||||
mova/l.l @(0x12345678:32,@er2-.b),er1 ;017FA2C912345678
|
||||
mova/l.l @(0x12345678:32,@(0xFFFF9ABC:16,er2).b),er1 ;017FC2C99ABC12345678
|
||||
mova/l.l @(0x12345678:32,@(0x9ABCDEF0:32,er2).b),er1 ;017FCAC99ABCDEF012345678
|
||||
mova/l.l @(0x12345678:32,@(0xFFFF9ABC:16,r2L.b).b),er1 ;017FD2C99ABC12345678
|
||||
mova/l.l @(0x12345678:32,@(0xFFFF9ABC:16,r2.w).b),er1 ;017FE2C99ABC12345678
|
||||
mova/l.l @(0x12345678:32,@(0xFFFF9ABC:16,er2.l).b),er1 ;017FF2C99ABC12345678
|
||||
mova/l.l @(0x12345678:32,@(0x9ABCDEF0:32,r2L.b).b),er1 ;017FDAC99ABCDEF012345678
|
||||
mova/l.l @(0x12345678:32,@(0x9ABCDEF0:32,r2.w).b),er1 ;017FEAC99ABCDEF012345678
|
||||
mova/l.l @(0x12345678:32,@(0x9ABCDEF0:32,er2.l).b),er1 ;017FFAC99ABCDEF012345678
|
||||
mova/l.l @(0x12345678:32,@0xFFFF9ABC:16.b),er1 ;017F40C99ABC12345678
|
||||
mova/l.l @(0x12345678:32,@0x9ABCDEF0:32.b),er1 ;017F48C99ABCDEF012345678
|
||||
|
||||
mova/l.l @(0x12345678:32,@er2.w),er1 ;015F02D912345678
|
||||
mova/l.l @(0x12345678:32,@(0x2:2,er2).w),er1 ;015F12D912345678
|
||||
mova/l.l @(0x12345678:32,@er2+.w),er1 ;015F82D912345678
|
||||
mova/l.l @(0x12345678:32,@-er2.w),er1 ;015FB2D912345678
|
||||
mova/l.l @(0x12345678:32,@+er2.w),er1 ;015F92D912345678
|
||||
mova/l.l @(0x12345678:32,@er2-.w),er1 ;015FA2D912345678
|
||||
mova/l.l @(0x12345678:32,@(0xFFFF9ABC:16,er2).w),er1 ;015FC2D99ABC12345678
|
||||
mova/l.l @(0x12345678:32,@(0x9ABCDEF0:32,er2).w),er1 ;015FCAD99ABCDEF012345678
|
||||
mova/l.l @(0x12345678:32,@(0xFFFF9ABC:16,r2L.b).w),er1 ;015FD2D99ABC12345678
|
||||
mova/l.l @(0x12345678:32,@(0xFFFF9ABC:16,r2.w).w),er1 ;015FE2D99ABC12345678
|
||||
mova/l.l @(0x12345678:32,@(0xFFFF9ABC:16,er2.l).w),er1 ;015FF2D99ABC12345678
|
||||
mova/l.l @(0x12345678:32,@(0x9ABCDEF0:32,r2L.b).w),er1 ;015FDAD99ABCDEF012345678
|
||||
mova/l.l @(0x12345678:32,@(0x9ABCDEF0:32,r2.w).w),er1 ;015FEAD99ABCDEF012345678
|
||||
mova/l.l @(0x12345678:32,@(0x9ABCDEF0:32,er2.l).w),er1 ;015FFAD99ABCDEF012345678
|
||||
mova/l.l @(0x12345678:32,@0xFFFF9ABC:16.w),er1 ;015F40D99ABC12345678
|
||||
mova/l.l @(0x12345678:32,@0x9ABCDEF0:32.w),er1 ;015F48D99ABCDEF012345678
|
||||
|
||||
.end
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;mova
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
.h8300sx
|
||||
.text
|
||||
.global _start
|
||||
_start:
|
||||
mova/b.c @(0x1234:16,r3l.b),er1 ;7A891234
|
||||
mova/b.c @(0x1234:16,r3.w),er1 ;7A991234
|
||||
mova/w.c @(0x1234:16,r3l.b),er1 ;7AA91234
|
||||
mova/w.c @(0x1234:16,r3.w),er1 ;7AB91234
|
||||
mova/l.c @(0x1234:16,r3l.b),er1 ;7AC91234
|
||||
mova/l.c @(0x1234:16,r3.w),er1 ;7AD91234
|
||||
mova/b.c @(0x12345678:32,r3l.b),er1 ;7A8112345678
|
||||
mova/b.c @(0x12345678:32,r3.w),er1 ;7A9112345678
|
||||
mova/w.c @(0x12345678:32,r3l.b),er1 ;7AA112345678
|
||||
mova/w.c @(0x12345678:32,r3.w),er1 ;7AB112345678
|
||||
mova/l.c @(0x12345678:32,r3l.b),er1 ;7AC112345678
|
||||
mova/l.c @(0x12345678:32,r3.w),er1 ;7AD112345678
|
||||
|
||||
mova/b.l @(0x1234:16,r3l.b),er1 ;78B87A891234
|
||||
mova/b.l @(0x1234:16,r3.w),er1 ;78397A991234
|
||||
mova/w.l @(0x1234:16,r3l.b),er1 ;78B87AA91234
|
||||
mova/w.l @(0x1234:16,r3.w),er1 ;78397AB91234
|
||||
mova/l.l @(0x1234:16,r3l.b),er1 ;78B87AC91234
|
||||
mova/l.l @(0x1234:16,r3.w),er1 ;78397AD91234
|
||||
mova/b.l @(0x12345678:32,r3l.b),er1 ;78B87A8112345678
|
||||
mova/b.l @(0x12345678:32,r3.w),er1 ;78397A9112345678
|
||||
mova/w.l @(0x12345678:32,r3l.b),er1 ;78B87AA112345678
|
||||
mova/w.l @(0x12345678:32,r3.w),er1 ;78397AB112345678
|
||||
mova/l.l @(0x12345678:32,r3l.b),er1 ;78B87AC112345678
|
||||
mova/l.l @(0x12345678:32,r3.w),er1 ;78397AD112345678
|
||||
|
||||
mova/b.l @(0x1234:16,@er2.b),er1 ;017F02811234
|
||||
mova/b.l @(0x1234:16,@(0x1:2,er2).b),er1 ;017F12811234
|
||||
mova/b.l @(0x1234:16,@er2+.b),er1 ;017F82811234
|
||||
mova/b.l @(0x1234:16,@-er2.b),er1 ;017FB2811234
|
||||
mova/b.l @(0x1234:16,@+er2.b),er1 ;017F92811234
|
||||
mova/b.l @(0x1234:16,@er2-.b),er1 ;017FA2811234
|
||||
mova/b.l @(0x1234:16,@(0xFFFF9ABC:16,er2).b),er1 ;017FC2819ABC1234
|
||||
mova/b.l @(0x1234:16,@(0x9ABCDEF0:32,er2).b),er1 ;017FCA819ABCDEF01234
|
||||
mova/b.l @(0x1234:16,@(0xFFFF9ABC:16,r2L.b).b),er1 ;017FD2819ABC1234
|
||||
mova/b.l @(0x1234:16,@(0xFFFF9ABC:16,r2.w).b),er1 ;017FE2819ABC1234
|
||||
mova/b.l @(0x1234:16,@(0xFFFF9ABC:16,er2.l).b),er1 ;017FF2819ABC1234
|
||||
mova/b.l @(0x1234:16,@(0x9ABCDEF0:32,r2L.b).b),er1 ;017FDA819ABCDEF01234
|
||||
mova/b.l @(0x1234:16,@(0x9ABCDEF0:32,r2.w).b),er1 ;017FEA819ABCDEF01234
|
||||
mova/b.l @(0x1234:16,@(0x9ABCDEF0:32,er2.l).b),er1 ;017FFA819ABCDEF01234
|
||||
mova/b.l @(0x1234:16,@0xFFFF9ABC:16.b),er1 ;017F40819ABC1234
|
||||
mova/b.l @(0x1234:16,@0x9ABCDEF0:32.b),er1 ;017F48819ABCDEF01234
|
||||
|
||||
mova/b.l @(0x1234:16,@er2.w),er1 ;015F02911234
|
||||
mova/b.l @(0x1234:16,@(0x2:2,er2).w),er1 ;015F12911234
|
||||
mova/b.l @(0x1234:16,@er2+.w),er1 ;015F82911234
|
||||
mova/b.l @(0x1234:16,@-er2.w),er1 ;015FB2911234
|
||||
mova/b.l @(0x1234:16,@+er2.w),er1 ;015F92911234
|
||||
mova/b.l @(0x1234:16,@er2-.w),er1 ;015FA2911234
|
||||
mova/b.l @(0x1234:16,@(0xFFFF9ABC:16,er2).w),er1 ;015FC2919ABC1234
|
||||
mova/b.l @(0x1234:16,@(0x9ABCDEF0:32,er2).w),er1 ;015FCA919ABCDEF01234
|
||||
mova/b.l @(0x1234:16,@(0xFFFF9ABC:16,r2L.b).w),er1 ;015FD2919ABC1234
|
||||
mova/b.l @(0x1234:16,@(0xFFFF9ABC:16,r2.w).w),er1 ;015FE2919ABC1234
|
||||
mova/b.l @(0x1234:16,@(0xFFFF9ABC:16,er2.l).w),er1 ;015FF2919ABC1234
|
||||
mova/b.l @(0x1234:16,@(0x9ABCDEF0:32,r2L.b).w),er1 ;015FDA919ABCDEF01234
|
||||
mova/b.l @(0x1234:16,@(0x9ABCDEF0:32,r2.w).w),er1 ;015FEA919ABCDEF01234
|
||||
mova/b.l @(0x1234:16,@(0x9ABCDEF0:32,er2.l).w),er1 ;015FFA919ABCDEF01234
|
||||
mova/b.l @(0x1234:16,@0xFFFF9ABC:16.w),er1 ;015F40919ABC1234
|
||||
mova/b.l @(0x1234:16,@0x9ABCDEF0:32.w),er1 ;015F48919ABCDEF01234
|
||||
|
||||
mova/w.l @(0x1234:16,@er2.b),er1 ;017F02A11234
|
||||
mova/w.l @(0x1234:16,@(0x1:2,er2).b),er1 ;017F12A11234
|
||||
mova/w.l @(0x1234:16,@er2+.b),er1 ;017F82A11234
|
||||
mova/w.l @(0x1234:16,@-er2.b),er1 ;017FB2A11234
|
||||
mova/w.l @(0x1234:16,@+er2.b),er1 ;017F92A11234
|
||||
mova/w.l @(0x1234:16,@er2-.b),er1 ;017FA2A11234
|
||||
mova/w.l @(0x1234:16,@(0xFFFF9ABC:16,er2).b),er1 ;017FC2A19ABC1234
|
||||
mova/w.l @(0x1234:16,@(0x9ABCDEF0:32,er2).b),er1 ;017FCAA19ABCDEF01234
|
||||
mova/w.l @(0x1234:16,@(0xFFFF9ABC:16,r2L.b).b),er1 ;017FD2A19ABC1234
|
||||
mova/w.l @(0x1234:16,@(0xFFFF9ABC:16,r2.w).b),er1 ;017FE2A19ABC1234
|
||||
mova/w.l @(0x1234:16,@(0xFFFF9ABC:16,er2.l).b),er1 ;017FF2A19ABC1234
|
||||
mova/w.l @(0x1234:16,@(0x9ABCDEF0:32,r2L.b).b),er1 ;017FDAA19ABCDEF01234
|
||||
mova/w.l @(0x1234:16,@(0x9ABCDEF0:32,r2.w).b),er1 ;017FEAA19ABCDEF01234
|
||||
mova/w.l @(0x1234:16,@(0x9ABCDEF0:32,er2.l).b),er1 ;017FFAA19ABCDEF01234
|
||||
mova/w.l @(0x1234:16,@0xFFFF9ABC:16.b),er1 ;017F40A19ABC1234
|
||||
mova/w.l @(0x1234:16,@0x9ABCDEF0:32.b),er1 ;017F48A19ABCDEF01234
|
||||
|
||||
mova/w.l @(0x1234:16,@er2.w),er1 ;015F02B11234
|
||||
mova/w.l @(0x1234:16,@(0x2:2,er2).w),er1 ;015F12B11234
|
||||
mova/w.l @(0x1234:16,@er2+.w),er1 ;015F82B11234
|
||||
mova/w.l @(0x1234:16,@-er2.w),er1 ;015FB2B11234
|
||||
mova/w.l @(0x1234:16,@+er2.w),er1 ;015F92B11234
|
||||
mova/w.l @(0x1234:16,@er2-.w),er1 ;015FA2B11234
|
||||
mova/w.l @(0x1234:16,@(0xFFFF9ABC:16,er2).w),er1 ;015FC2B19ABC1234
|
||||
mova/w.l @(0x1234:16,@(0x9ABCDEF0:32,er2).w),er1 ;015FCAB19ABCDEF01234
|
||||
mova/w.l @(0x1234:16,@(0xFFFF9ABC:16,r2L.b).w),er1 ;015FD2B19ABC1234
|
||||
mova/w.l @(0x1234:16,@(0xFFFF9ABC:16,r2.w).w),er1 ;015FE2B19ABC1234
|
||||
mova/w.l @(0x1234:16,@(0xFFFF9ABC:16,er2.l).w),er1 ;015FF2B19ABC1234
|
||||
mova/w.l @(0x1234:16,@(0x9ABCDEF0:32,r2L.b).w),er1 ;015FDAB19ABCDEF01234
|
||||
mova/w.l @(0x1234:16,@(0x9ABCDEF0:32,r2.w).w),er1 ;015FEAB19ABCDEF01234
|
||||
mova/w.l @(0x1234:16,@(0x9ABCDEF0:32,er2.l).w),er1 ;015FFAB19ABCDEF01234
|
||||
mova/w.l @(0x1234:16,@0xFFFF9ABC:16.w),er1 ;015F40B19ABC1234
|
||||
mova/w.l @(0x1234:16,@0x9ABCDEF0:32.w),er1 ;015F48B19ABCDEF01234
|
||||
|
||||
mova/l.l @(0x1234:16,@er2.b),er1 ;017F02C11234
|
||||
mova/l.l @(0x1234:16,@(0x1:2,er2).b),er1 ;017F12C11234
|
||||
mova/l.l @(0x1234:16,@er2+.b),er1 ;017F82C11234
|
||||
mova/l.l @(0x1234:16,@-er2.b),er1 ;017FB2C11234
|
||||
mova/l.l @(0x1234:16,@+er2.b),er1 ;017F92C11234
|
||||
mova/l.l @(0x1234:16,@er2-.b),er1 ;017FA2C11234
|
||||
mova/l.l @(0x1234:16,@(0xFFFF9ABC:16,er2).b),er1 ;017FC2C19ABC1234
|
||||
mova/l.l @(0x1234:16,@(0x9ABCDEF0:32,er2).b),er1 ;017FCAC19ABCDEF01234
|
||||
mova/l.l @(0x1234:16,@(0xFFFF9ABC:16,r2L.b).b),er1 ;017FD2C19ABC1234
|
||||
mova/l.l @(0x1234:16,@(0xFFFF9ABC:16,r2.w).b),er1 ;017FE2C19ABC1234
|
||||
mova/l.l @(0x1234:16,@(0xFFFF9ABC:16,er2.l).b),er1 ;017FF2C19ABC1234
|
||||
mova/l.l @(0x1234:16,@(0x9ABCDEF0:32,r2L.b).b),er1 ;017FDAC19ABCDEF01234
|
||||
mova/l.l @(0x1234:16,@(0x9ABCDEF0:32,r2.w).b),er1 ;017FEAC19ABCDEF01234
|
||||
mova/l.l @(0x1234:16,@(0x9ABCDEF0:32,er2.l).b),er1 ;017FFAC19ABCDEF01234
|
||||
mova/l.l @(0x1234:16,@0xFFFF9ABC:16.b),er1 ;017F40C19ABC1234
|
||||
mova/l.l @(0x1234:16,@0x9ABCDEF0:32.b),er1 ;017F48C19ABCDEF01234
|
||||
|
||||
mova/l.l @(0x1234:16,@er2.w),er1 ;015F02D11234
|
||||
mova/l.l @(0x1234:16,@(0x2:2,er2).w),er1 ;015F12D11234
|
||||
mova/l.l @(0x1234:16,@er2+.w),er1 ;015F82D11234
|
||||
mova/l.l @(0x1234:16,@-er2.w),er1 ;015FB2D11234
|
||||
mova/l.l @(0x1234:16,@+er2.w),er1 ;015F92D11234
|
||||
mova/l.l @(0x1234:16,@er2-.w),er1 ;015FA2D11234
|
||||
mova/l.l @(0x1234:16,@(0xFFFF9ABC:16,er2).w),er1 ;015FC2D19ABC1234
|
||||
mova/l.l @(0x1234:16,@(0x9ABCDEF0:32,er2).w),er1 ;015FCAD19ABCDEF01234
|
||||
mova/l.l @(0x1234:16,@(0xFFFF9ABC:16,r2L.b).w),er1 ;015FD2D19ABC1234
|
||||
mova/l.l @(0x1234:16,@(0xFFFF9ABC:16,r2.w).w),er1 ;015FE2D19ABC1234
|
||||
mova/l.l @(0x1234:16,@(0xFFFF9ABC:16,er2.l).w),er1 ;015FF2D19ABC1234
|
||||
mova/l.l @(0x1234:16,@(0x9ABCDEF0:32,r2L.b).w),er1 ;015FDAD19ABCDEF01234
|
||||
mova/l.l @(0x1234:16,@(0x9ABCDEF0:32,r2.w).w),er1 ;015FEAD19ABCDEF01234
|
||||
mova/l.l @(0x1234:16,@(0x9ABCDEF0:32,er2.l).w),er1 ;015FFAD19ABCDEF01234
|
||||
mova/l.l @(0x1234:16,@0xFFFF9ABC:16.w),er1 ;015F40D19ABC1234
|
||||
mova/l.l @(0x1234:16,@0x9ABCDEF0:32.w),er1 ;015F48D19ABCDEF01234
|
||||
|
||||
mova/b.l @(0x12345678:32,@er2.b),er1 ;017F028912345678
|
||||
mova/b.l @(0x12345678:32,@(0x1:2,er2).b),er1 ;017F128912345678
|
||||
mova/b.l @(0x12345678:32,@er2+.b),er1 ;017F828912345678
|
||||
mova/b.l @(0x12345678:32,@-er2.b),er1 ;017FB28912345678
|
||||
mova/b.l @(0x12345678:32,@+er2.b),er1 ;017F928912345678
|
||||
mova/b.l @(0x12345678:32,@er2-.b),er1 ;017FA28912345678
|
||||
mova/b.l @(0x12345678:32,@(0xFFFF9ABC:16,er2).b),er1 ;017FC2899ABC12345678
|
||||
mova/b.l @(0x12345678:32,@(0x9ABCDEF0:32,er2).b),er1 ;017FCA899ABCDEF012345678
|
||||
mova/b.l @(0x12345678:32,@(0xFFFF9ABC:16,r2L.b).b),er1 ;017FD2899ABC12345678
|
||||
mova/b.l @(0x12345678:32,@(0xFFFF9ABC:16,r2.w).b),er1 ;017FE2899ABC12345678
|
||||
mova/b.l @(0x12345678:32,@(0xFFFF9ABC:16,er2.l).b),er1 ;017FF2899ABC12345678
|
||||
mova/b.l @(0x12345678:32,@(0x9ABCDEF0:32,r2L.b).b),er1 ;017FDA899ABCDEF012345678
|
||||
mova/b.l @(0x12345678:32,@(0x9ABCDEF0:32,r2.w).b),er1 ;017FEA899ABCDEF012345678
|
||||
mova/b.l @(0x12345678:32,@(0x9ABCDEF0:32,er2.l).b),er1 ;017FFA899ABCDEF012345678
|
||||
mova/b.l @(0x12345678:32,@0xFFFF9ABC:16.b),er1 ;017F40899ABC12345678
|
||||
mova/b.l @(0x12345678:32,@0x9ABCDEF0:32.b),er1 ;017F48899ABCDEF012345678
|
||||
|
||||
mova/b.l @(0x12345678:32,@er2.w),er1 ;015F029912345678
|
||||
mova/b.l @(0x12345678:32,@(0x2:2,er2).w),er1 ;015F129912345678
|
||||
mova/b.l @(0x12345678:32,@er2+.w),er1 ;015F829912345678
|
||||
mova/b.l @(0x12345678:32,@-er2.w),er1 ;015FB29912345678
|
||||
mova/b.l @(0x12345678:32,@+er2.w),er1 ;015F929912345678
|
||||
mova/b.l @(0x12345678:32,@er2-.w),er1 ;015FA29912345678
|
||||
mova/b.l @(0x12345678:32,@(0xFFFF9ABC:16,er2).w),er1 ;015FC2999ABC12345678
|
||||
mova/b.l @(0x12345678:32,@(0x9ABCDEF0:32,er2).w),er1 ;015FCA999ABCDEF012345678
|
||||
mova/b.l @(0x12345678:32,@(0xFFFF9ABC:16,r2L.b).w),er1 ;015FD2999ABC12345678
|
||||
mova/b.l @(0x12345678:32,@(0xFFFF9ABC:16,r2.w).w),er1 ;015FE2999ABC12345678
|
||||
mova/b.l @(0x12345678:32,@(0xFFFF9ABC:16,er2.l).w),er1 ;015FF2999ABC12345678
|
||||
mova/b.l @(0x12345678:32,@(0x9ABCDEF0:32,r2L.b).w),er1 ;015FDA999ABCDEF012345678
|
||||
mova/b.l @(0x12345678:32,@(0x9ABCDEF0:32,r2.w).w),er1 ;015FEA999ABCDEF012345678
|
||||
mova/b.l @(0x12345678:32,@(0x9ABCDEF0:32,er2.l).w),er1 ;015FFA999ABCDEF012345678
|
||||
mova/b.l @(0x12345678:32,@0xFFFF9ABC:16.w),er1 ;015F40999ABC12345678
|
||||
mova/b.l @(0x12345678:32,@0x9ABCDEF0:32.w),er1 ;015F48999ABCDEF012345678
|
||||
|
||||
mova/w.l @(0x12345678:32,@er2.b),er1 ;017F02A912345678
|
||||
mova/w.l @(0x12345678:32,@(0x1:2,er2).b),er1 ;017F12A912345678
|
||||
mova/w.l @(0x12345678:32,@er2+.b),er1 ;017F82A912345678
|
||||
mova/w.l @(0x12345678:32,@-er2.b),er1 ;017FB2A912345678
|
||||
mova/w.l @(0x12345678:32,@+er2.b),er1 ;017F92A912345678
|
||||
mova/w.l @(0x12345678:32,@er2-.b),er1 ;017FA2A912345678
|
||||
mova/w.l @(0x12345678:32,@(0xFFFF9ABC:16,er2).b),er1 ;017FC2A99ABC12345678
|
||||
mova/w.l @(0x12345678:32,@(0x9ABCDEF0:32,er2).b),er1 ;017FCAA99ABCDEF012345678
|
||||
mova/w.l @(0x12345678:32,@(0xFFFF9ABC:16,r2L.b).b),er1 ;017FD2A99ABC12345678
|
||||
mova/w.l @(0x12345678:32,@(0xFFFF9ABC:16,r2.w).b),er1 ;017FE2A99ABC12345678
|
||||
mova/w.l @(0x12345678:32,@(0xFFFF9ABC:16,er2.l).b),er1 ;017FF2A99ABC12345678
|
||||
mova/w.l @(0x12345678:32,@(0x9ABCDEF0:32,r2L.b).b),er1 ;017FDAA99ABCDEF012345678
|
||||
mova/w.l @(0x12345678:32,@(0x9ABCDEF0:32,r2.w).b),er1 ;017FEAA99ABCDEF012345678
|
||||
mova/w.l @(0x12345678:32,@(0x9ABCDEF0:32,er2.l).b),er1 ;017FFAA99ABCDEF012345678
|
||||
mova/w.l @(0x12345678:32,@0xFFFF9ABC:16.b),er1 ;017F40A99ABC12345678
|
||||
mova/w.l @(0x12345678:32,@0x9ABCDEF0:32.b),er1 ;017F48A99ABCDEF012345678
|
||||
|
||||
mova/w.l @(0x12345678:32,@er2.w),er1 ;015F02B912345678
|
||||
mova/w.l @(0x12345678:32,@(0x2:2,er2).w),er1 ;015F12B912345678
|
||||
mova/w.l @(0x12345678:32,@er2+.w),er1 ;015F82B912345678
|
||||
mova/w.l @(0x12345678:32,@-er2.w),er1 ;015FB2B912345678
|
||||
mova/w.l @(0x12345678:32,@+er2.w),er1 ;015F92B912345678
|
||||
mova/w.l @(0x12345678:32,@er2-.w),er1 ;015FA2B912345678
|
||||
mova/w.l @(0x12345678:32,@(0xFFFF9ABC:16,er2).w),er1 ;015FC2B99ABC12345678
|
||||
mova/w.l @(0x12345678:32,@(0x9ABCDEF0:32,er2).w),er1 ;015FCAB99ABCDEF012345678
|
||||
mova/w.l @(0x12345678:32,@(0xFFFF9ABC:16,r2L.b).w),er1 ;015FD2B99ABC12345678
|
||||
mova/w.l @(0x12345678:32,@(0xFFFF9ABC:16,r2.w).w),er1 ;015FE2B99ABC12345678
|
||||
mova/w.l @(0x12345678:32,@(0xFFFF9ABC:16,er2.l).w),er1 ;015FF2B99ABC12345678
|
||||
mova/w.l @(0x12345678:32,@(0x9ABCDEF0:32,r2L.b).w),er1 ;015FDAB99ABCDEF012345678
|
||||
mova/w.l @(0x12345678:32,@(0x9ABCDEF0:32,r2.w).w),er1 ;015FEAB99ABCDEF012345678
|
||||
mova/w.l @(0x12345678:32,@(0x9ABCDEF0:32,er2.l).w),er1 ;015FFAB99ABCDEF012345678
|
||||
mova/w.l @(0x12345678:32,@0xFFFF9ABC:16.w),er1 ;015F40B99ABC12345678
|
||||
mova/w.l @(0x12345678:32,@0x9ABCDEF0:32.w),er1 ;015F48B99ABCDEF012345678
|
||||
|
||||
mova/l.l @(0x12345678:32,@er2.b),er1 ;017F02C912345678
|
||||
mova/l.l @(0x12345678:32,@(0x1:2,er2).b),er1 ;017F12C912345678
|
||||
mova/l.l @(0x12345678:32,@er2+.b),er1 ;017F82C912345678
|
||||
mova/l.l @(0x12345678:32,@-er2.b),er1 ;017FB2C912345678
|
||||
mova/l.l @(0x12345678:32,@+er2.b),er1 ;017F92C912345678
|
||||
mova/l.l @(0x12345678:32,@er2-.b),er1 ;017FA2C912345678
|
||||
mova/l.l @(0x12345678:32,@(0xFFFF9ABC:16,er2).b),er1 ;017FC2C99ABC12345678
|
||||
mova/l.l @(0x12345678:32,@(0x9ABCDEF0:32,er2).b),er1 ;017FCAC99ABCDEF012345678
|
||||
mova/l.l @(0x12345678:32,@(0xFFFF9ABC:16,r2L.b).b),er1 ;017FD2C99ABC12345678
|
||||
mova/l.l @(0x12345678:32,@(0xFFFF9ABC:16,r2.w).b),er1 ;017FE2C99ABC12345678
|
||||
mova/l.l @(0x12345678:32,@(0xFFFF9ABC:16,er2.l).b),er1 ;017FF2C99ABC12345678
|
||||
mova/l.l @(0x12345678:32,@(0x9ABCDEF0:32,r2L.b).b),er1 ;017FDAC99ABCDEF012345678
|
||||
mova/l.l @(0x12345678:32,@(0x9ABCDEF0:32,r2.w).b),er1 ;017FEAC99ABCDEF012345678
|
||||
mova/l.l @(0x12345678:32,@(0x9ABCDEF0:32,er2.l).b),er1 ;017FFAC99ABCDEF012345678
|
||||
mova/l.l @(0x12345678:32,@0xFFFF9ABC:16.b),er1 ;017F40C99ABC12345678
|
||||
mova/l.l @(0x12345678:32,@0x9ABCDEF0:32.b),er1 ;017F48C99ABCDEF012345678
|
||||
|
||||
mova/l.l @(0x12345678:32,@er2.w),er1 ;015F02D912345678
|
||||
mova/l.l @(0x12345678:32,@(0x2:2,er2).w),er1 ;015F12D912345678
|
||||
mova/l.l @(0x12345678:32,@er2+.w),er1 ;015F82D912345678
|
||||
mova/l.l @(0x12345678:32,@-er2.w),er1 ;015FB2D912345678
|
||||
mova/l.l @(0x12345678:32,@+er2.w),er1 ;015F92D912345678
|
||||
mova/l.l @(0x12345678:32,@er2-.w),er1 ;015FA2D912345678
|
||||
mova/l.l @(0x12345678:32,@(0xFFFF9ABC:16,er2).w),er1 ;015FC2D99ABC12345678
|
||||
mova/l.l @(0x12345678:32,@(0x9ABCDEF0:32,er2).w),er1 ;015FCAD99ABCDEF012345678
|
||||
mova/l.l @(0x12345678:32,@(0xFFFF9ABC:16,r2L.b).w),er1 ;015FD2D99ABC12345678
|
||||
mova/l.l @(0x12345678:32,@(0xFFFF9ABC:16,r2.w).w),er1 ;015FE2D99ABC12345678
|
||||
mova/l.l @(0x12345678:32,@(0xFFFF9ABC:16,er2.l).w),er1 ;015FF2D99ABC12345678
|
||||
mova/l.l @(0x12345678:32,@(0x9ABCDEF0:32,r2L.b).w),er1 ;015FDAD99ABCDEF012345678
|
||||
mova/l.l @(0x12345678:32,@(0x9ABCDEF0:32,r2.w).w),er1 ;015FEAD99ABCDEF012345678
|
||||
mova/l.l @(0x12345678:32,@(0x9ABCDEF0:32,er2.l).w),er1 ;015FFAD99ABCDEF012345678
|
||||
mova/l.l @(0x12345678:32,@0xFFFF9ABC:16.w),er1 ;015F40D99ABC12345678
|
||||
mova/l.l @(0x12345678:32,@0x9ABCDEF0:32.w),er1 ;015F48D99ABCDEF012345678
|
||||
|
||||
.end
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,188 +1,188 @@
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;arith_2
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
.h8300sx
|
||||
.text
|
||||
.global _start
|
||||
_start:
|
||||
addx.b #0x12:8,r1h ;9112
|
||||
addx.b #0x12:8,@er1 ;7d109012
|
||||
addx.b #0x12:8,@er1- ;01766c189012
|
||||
|
||||
addx.b r3h,r1h ;0e31
|
||||
addx.b r3h,@er1 ;7d100e30
|
||||
addx.b r3h,@er1- ;01766c180e30
|
||||
|
||||
addx.b @er3,r1h ;7c300e01
|
||||
addx.b @er3,@er1 ;0174683d0110
|
||||
|
||||
addx.b @er3-,r1h ;01766c300e01
|
||||
addx.b @er3-,@er1- ;01766c3da110
|
||||
|
||||
addx.w #0x1234:16,r1 ;015179111234
|
||||
addx.w #0x1234:16,@er1 ;7d9179101234
|
||||
addx.w #0x1234:16,@er1- ;01566d1979101234
|
||||
|
||||
addx.w r3,r1 ;01510931
|
||||
addx.w r3,@er1 ;7d910930
|
||||
addx.w r3,@er1- ;01566d190930
|
||||
|
||||
addx.w @er3,r1 ;7cb10901
|
||||
addx.w @er3,@er1 ;0154693d0110
|
||||
|
||||
addx.w @er3-,r1 ;01566d310901
|
||||
addx.w @er3-,@er1- ;01566d3da110
|
||||
|
||||
addx.l #0x12345678:32,er1 ;01017a1112345678
|
||||
addx.l #0x12345678:32,@er1 ;010469197a1012345678
|
||||
addx.l #0x12345678:32,@er1- ;01066d197a1012345678
|
||||
|
||||
addx.l er3,er1 ;01010ab1
|
||||
addx.l er3,@er1 ;010469190ab0
|
||||
addx.l er3,@er1- ;01066d190ab0
|
||||
|
||||
addx.l @er3,er1 ;010469310a81
|
||||
addx.l @er3,@er1 ;0104693d0110
|
||||
|
||||
addx.l @er3-,er1 ;01066d310a81
|
||||
addx.l @er3-,@er1- ;01066d3da110
|
||||
|
||||
subx.b #0x12:8,r1h ;b112
|
||||
subx.b #0x12:8,@er1 ;7d10b012
|
||||
subx.b #0x12:8,@er1- ;01766c18b012
|
||||
|
||||
subx.b r3h,r1h ;1e31
|
||||
subx.b r3h,@er1 ;7d101e30
|
||||
subx.b r3h,@er1- ;01766c181e30
|
||||
|
||||
subx.b @er3,r1h ;7c301e01
|
||||
subx.b @er3,@er1 ;0174683d0130
|
||||
|
||||
subx.b @er3-,r1h ;01766c301e01
|
||||
subx.b @er3-,@er1- ;01766c3da130
|
||||
|
||||
subx.w #0x1234:16,r1 ;015179311234
|
||||
subx.w #0x1234:16,@er1 ;7d9179301234
|
||||
subx.w #0x1234:16,@er1- ;01566d1979301234
|
||||
|
||||
subx.w r3,r1 ;01511931
|
||||
subx.w r3,@er1 ;7d911930
|
||||
subx.w r3,@er1- ;01566d191930
|
||||
|
||||
subx.w @er3,r1 ;7cb11901
|
||||
subx.w @er3,@er1 ;0154693d0130
|
||||
|
||||
subx.w @er3-,r1 ;01566d311901
|
||||
subx.w @er3-,@er1- ;01566d3da130
|
||||
|
||||
subx.l #0x12345678:32,er1 ;01017a3112345678
|
||||
subx.l #0x12345678:32,@er1 ;010469197a3012345678
|
||||
subx.l #0x12345678:32,@er1- ;01066d197a3012345678
|
||||
|
||||
subx.l er3,er1 ;01011ab1
|
||||
subx.l er3,@er1 ;010469191ab0
|
||||
subx.l er3,@er1- ;01066d191ab0
|
||||
|
||||
subx.l @er3,er1 ;010469311a81
|
||||
subx.l @er3,@er1 ;0104693d0130
|
||||
|
||||
subx.l @er3-,er1 ;01066d311a81
|
||||
subx.l @er3-,@er1- ;01066d3da130
|
||||
|
||||
inc.b r1h ;0a01
|
||||
inc.w #1,r1 ;0b51
|
||||
inc.w #2,r1 ;0bd1
|
||||
inc.l #1,er1 ;0b71
|
||||
inc.l #2,er1 ;0bf1
|
||||
|
||||
dec.b r1h ;1a01
|
||||
dec.w #1,r1 ;1b51
|
||||
dec.w #2,r1 ;1bd1
|
||||
dec.l #1,er1 ;1b71
|
||||
dec.l #2,er1 ;1bf1
|
||||
|
||||
adds.l #1,er1 ;0b01
|
||||
adds.l #2,er1 ;0b81
|
||||
adds.l #4,er1 ;0b91
|
||||
|
||||
subs.l #1,er1 ;1b01
|
||||
subs.l #2,er1 ;1b81
|
||||
subs.l #4,er1 ;1b91
|
||||
|
||||
daa.b r1h ;0f01
|
||||
|
||||
das.b r1h ;1f01
|
||||
|
||||
mulxu.b #0xf:4,r1 ;01cc50f1
|
||||
|
||||
mulxu.b r3h,r1 ;5031
|
||||
|
||||
mulxu.w #0xf:4,er1 ;01cc52f1
|
||||
|
||||
mulxu.w r3,er1 ;5231
|
||||
|
||||
divxu.b #0xf:4,r1 ;01dc51f1
|
||||
|
||||
divxu.b r3h,r1 ;5131
|
||||
|
||||
divxu.w #0xf:4,er1 ;01dc53f1
|
||||
|
||||
divxu.w r3,er1 ;5331
|
||||
|
||||
mulxs.b #0xf:4,r1 ;01c450f1
|
||||
|
||||
mulxs.b r3h,r1 ;01c05031
|
||||
|
||||
mulxs.w #0xf:4,er1 ;01c452f1
|
||||
|
||||
mulxs.w r3,er1 ;01c05231
|
||||
|
||||
divxs.b #0xf:4,r1 ;01d451f1
|
||||
|
||||
divxs.b r3h,r1 ;01d05131
|
||||
|
||||
divxs.w #0xf:4,er1 ;01d453f1
|
||||
|
||||
divxs.w r3,er1 ;01d05331
|
||||
|
||||
mulu.w #0xf:4,r1 ;01ce50f1
|
||||
|
||||
mulu.w r3,r1 ;01ca5031
|
||||
|
||||
mulu.l #0xf:4,er1 ;01ce52f1
|
||||
|
||||
mulu.l er3,er1 ;01ca5231
|
||||
|
||||
mulu/u.l #0xf:4,er1 ;01cf52f1
|
||||
|
||||
mulu/u.l er3,er1 ;01cb5231
|
||||
|
||||
muls.w #0xf:4,r1 ;01c650f1
|
||||
|
||||
muls.w r3,r1 ;01c25031
|
||||
|
||||
muls.l #0xf:4,er1 ;01c652f1
|
||||
|
||||
muls.l er3,er1 ;01c25231
|
||||
|
||||
muls/u.l #0xf:4,er1 ;01c752f1
|
||||
|
||||
muls/u.l er3,er1 ;01c35231
|
||||
|
||||
divu.w #0xf:4,r1 ;01de51f1
|
||||
|
||||
divu.w r3,r1 ;01da5131
|
||||
|
||||
divu.l #0xf:4,er1 ;01de53f1
|
||||
|
||||
divu.l er3,er1 ;01da5331
|
||||
|
||||
divs.w #0xf:4,r1 ;01d651f1
|
||||
|
||||
divs.w r3,r1 ;01d25131
|
||||
|
||||
divs.l #0xf:4,er1 ;01d653f1
|
||||
|
||||
divs.l er3,er1 ;01d25331
|
||||
|
||||
.end
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;arith_2
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
.h8300sx
|
||||
.text
|
||||
.global _start
|
||||
_start:
|
||||
addx.b #0x12:8,r1h ;9112
|
||||
addx.b #0x12:8,@er1 ;7d109012
|
||||
addx.b #0x12:8,@er1- ;01766c189012
|
||||
|
||||
addx.b r3h,r1h ;0e31
|
||||
addx.b r3h,@er1 ;7d100e30
|
||||
addx.b r3h,@er1- ;01766c180e30
|
||||
|
||||
addx.b @er3,r1h ;7c300e01
|
||||
addx.b @er3,@er1 ;0174683d0110
|
||||
|
||||
addx.b @er3-,r1h ;01766c300e01
|
||||
addx.b @er3-,@er1- ;01766c3da110
|
||||
|
||||
addx.w #0x1234:16,r1 ;015179111234
|
||||
addx.w #0x1234:16,@er1 ;7d9179101234
|
||||
addx.w #0x1234:16,@er1- ;01566d1979101234
|
||||
|
||||
addx.w r3,r1 ;01510931
|
||||
addx.w r3,@er1 ;7d910930
|
||||
addx.w r3,@er1- ;01566d190930
|
||||
|
||||
addx.w @er3,r1 ;7cb10901
|
||||
addx.w @er3,@er1 ;0154693d0110
|
||||
|
||||
addx.w @er3-,r1 ;01566d310901
|
||||
addx.w @er3-,@er1- ;01566d3da110
|
||||
|
||||
addx.l #0x12345678:32,er1 ;01017a1112345678
|
||||
addx.l #0x12345678:32,@er1 ;010469197a1012345678
|
||||
addx.l #0x12345678:32,@er1- ;01066d197a1012345678
|
||||
|
||||
addx.l er3,er1 ;01010ab1
|
||||
addx.l er3,@er1 ;010469190ab0
|
||||
addx.l er3,@er1- ;01066d190ab0
|
||||
|
||||
addx.l @er3,er1 ;010469310a81
|
||||
addx.l @er3,@er1 ;0104693d0110
|
||||
|
||||
addx.l @er3-,er1 ;01066d310a81
|
||||
addx.l @er3-,@er1- ;01066d3da110
|
||||
|
||||
subx.b #0x12:8,r1h ;b112
|
||||
subx.b #0x12:8,@er1 ;7d10b012
|
||||
subx.b #0x12:8,@er1- ;01766c18b012
|
||||
|
||||
subx.b r3h,r1h ;1e31
|
||||
subx.b r3h,@er1 ;7d101e30
|
||||
subx.b r3h,@er1- ;01766c181e30
|
||||
|
||||
subx.b @er3,r1h ;7c301e01
|
||||
subx.b @er3,@er1 ;0174683d0130
|
||||
|
||||
subx.b @er3-,r1h ;01766c301e01
|
||||
subx.b @er3-,@er1- ;01766c3da130
|
||||
|
||||
subx.w #0x1234:16,r1 ;015179311234
|
||||
subx.w #0x1234:16,@er1 ;7d9179301234
|
||||
subx.w #0x1234:16,@er1- ;01566d1979301234
|
||||
|
||||
subx.w r3,r1 ;01511931
|
||||
subx.w r3,@er1 ;7d911930
|
||||
subx.w r3,@er1- ;01566d191930
|
||||
|
||||
subx.w @er3,r1 ;7cb11901
|
||||
subx.w @er3,@er1 ;0154693d0130
|
||||
|
||||
subx.w @er3-,r1 ;01566d311901
|
||||
subx.w @er3-,@er1- ;01566d3da130
|
||||
|
||||
subx.l #0x12345678:32,er1 ;01017a3112345678
|
||||
subx.l #0x12345678:32,@er1 ;010469197a3012345678
|
||||
subx.l #0x12345678:32,@er1- ;01066d197a3012345678
|
||||
|
||||
subx.l er3,er1 ;01011ab1
|
||||
subx.l er3,@er1 ;010469191ab0
|
||||
subx.l er3,@er1- ;01066d191ab0
|
||||
|
||||
subx.l @er3,er1 ;010469311a81
|
||||
subx.l @er3,@er1 ;0104693d0130
|
||||
|
||||
subx.l @er3-,er1 ;01066d311a81
|
||||
subx.l @er3-,@er1- ;01066d3da130
|
||||
|
||||
inc.b r1h ;0a01
|
||||
inc.w #1,r1 ;0b51
|
||||
inc.w #2,r1 ;0bd1
|
||||
inc.l #1,er1 ;0b71
|
||||
inc.l #2,er1 ;0bf1
|
||||
|
||||
dec.b r1h ;1a01
|
||||
dec.w #1,r1 ;1b51
|
||||
dec.w #2,r1 ;1bd1
|
||||
dec.l #1,er1 ;1b71
|
||||
dec.l #2,er1 ;1bf1
|
||||
|
||||
adds.l #1,er1 ;0b01
|
||||
adds.l #2,er1 ;0b81
|
||||
adds.l #4,er1 ;0b91
|
||||
|
||||
subs.l #1,er1 ;1b01
|
||||
subs.l #2,er1 ;1b81
|
||||
subs.l #4,er1 ;1b91
|
||||
|
||||
daa.b r1h ;0f01
|
||||
|
||||
das.b r1h ;1f01
|
||||
|
||||
mulxu.b #0xf:4,r1 ;01cc50f1
|
||||
|
||||
mulxu.b r3h,r1 ;5031
|
||||
|
||||
mulxu.w #0xf:4,er1 ;01cc52f1
|
||||
|
||||
mulxu.w r3,er1 ;5231
|
||||
|
||||
divxu.b #0xf:4,r1 ;01dc51f1
|
||||
|
||||
divxu.b r3h,r1 ;5131
|
||||
|
||||
divxu.w #0xf:4,er1 ;01dc53f1
|
||||
|
||||
divxu.w r3,er1 ;5331
|
||||
|
||||
mulxs.b #0xf:4,r1 ;01c450f1
|
||||
|
||||
mulxs.b r3h,r1 ;01c05031
|
||||
|
||||
mulxs.w #0xf:4,er1 ;01c452f1
|
||||
|
||||
mulxs.w r3,er1 ;01c05231
|
||||
|
||||
divxs.b #0xf:4,r1 ;01d451f1
|
||||
|
||||
divxs.b r3h,r1 ;01d05131
|
||||
|
||||
divxs.w #0xf:4,er1 ;01d453f1
|
||||
|
||||
divxs.w r3,er1 ;01d05331
|
||||
|
||||
mulu.w #0xf:4,r1 ;01ce50f1
|
||||
|
||||
mulu.w r3,r1 ;01ca5031
|
||||
|
||||
mulu.l #0xf:4,er1 ;01ce52f1
|
||||
|
||||
mulu.l er3,er1 ;01ca5231
|
||||
|
||||
mulu/u.l #0xf:4,er1 ;01cf52f1
|
||||
|
||||
mulu/u.l er3,er1 ;01cb5231
|
||||
|
||||
muls.w #0xf:4,r1 ;01c650f1
|
||||
|
||||
muls.w r3,r1 ;01c25031
|
||||
|
||||
muls.l #0xf:4,er1 ;01c652f1
|
||||
|
||||
muls.l er3,er1 ;01c25231
|
||||
|
||||
muls/u.l #0xf:4,er1 ;01c752f1
|
||||
|
||||
muls/u.l er3,er1 ;01c35231
|
||||
|
||||
divu.w #0xf:4,r1 ;01de51f1
|
||||
|
||||
divu.w r3,r1 ;01da5131
|
||||
|
||||
divu.l #0xf:4,er1 ;01de53f1
|
||||
|
||||
divu.l er3,er1 ;01da5331
|
||||
|
||||
divs.w #0xf:4,r1 ;01d651f1
|
||||
|
||||
divs.w r3,r1 ;01d25131
|
||||
|
||||
divs.l #0xf:4,er1 ;01d653f1
|
||||
|
||||
divs.l er3,er1 ;01d25331
|
||||
|
||||
.end
|
||||
|
@ -1,173 +1,173 @@
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;arith_3
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
.h8300sx
|
||||
.text
|
||||
.global _start
|
||||
_start:
|
||||
neg.b r1h ;1781
|
||||
neg.b @er1 ;7d101780
|
||||
neg.b @(0x3:2,er1) ;017768181780
|
||||
neg.b @er1+ ;01746c181780
|
||||
neg.b @-er1 ;01776c181780
|
||||
neg.b @+er1 ;01756c181780
|
||||
neg.b @er1- ;01766c181780
|
||||
neg.b @(0x1234:16,er1) ;01746e1812341780
|
||||
neg.b @(0x12345678:32,er1) ;78146a28123456781780
|
||||
neg.b @(0x1234:16,r2l.b) ;01756e2812341780
|
||||
neg.b @(0x1234:16,r2.w) ;01766e2812341780
|
||||
neg.b @(0x1234:16,er2.l) ;01776e2812341780
|
||||
neg.b @(0x12345678:32,r2l.b) ;78256a28123456781780
|
||||
neg.b @(0x12345678:32,r2.w) ;78266a28123456781780
|
||||
neg.b @(0x12345678:32,er2.l) ;78276a28123456781780
|
||||
neg.b @0xffffff12:8 ;7f121780
|
||||
neg.b @0x1234:16 ;6a1812341780
|
||||
neg.b @0x12345678:32 ;6a38123456781780
|
||||
|
||||
neg.w r1 ;1791
|
||||
neg.w @er1 ;7d901790
|
||||
neg.w @(0x6:2,er1) ;015769181790
|
||||
neg.w @er1+ ;01546d181790
|
||||
neg.w @-er1 ;01576d181790
|
||||
neg.w @+er1 ;01556d181790
|
||||
neg.w @er1- ;01566d181790
|
||||
neg.w @(0x1234:16,er1) ;01546f1812341790
|
||||
neg.w @(0x12345678:32,er1) ;78146b28123456781790
|
||||
neg.w @(0x1234:16,r2l.b) ;01556f2812341790
|
||||
neg.w @(0x1234:16,r2.w) ;01566f2812341790
|
||||
neg.w @(0x1234:16,er2.l) ;01576f2812341790
|
||||
neg.w @(0x12345678:32,r2l.b) ;78256b28123456781790
|
||||
neg.w @(0x12345678:32,r2.w) ;78266b28123456781790
|
||||
neg.w @(0x12345678:32,er2.l) ;78276b28123456781790
|
||||
neg.w @0x1234:16 ;6b1812341790
|
||||
neg.w @0x12345678:32 ;6b38123456781790
|
||||
|
||||
neg.l er1 ;17b1
|
||||
neg.l @er1 ;0104691817b0
|
||||
neg.l @(0xc:2,er1) ;0107691817b0
|
||||
neg.l @er1+ ;01046d1817b0
|
||||
neg.l @-er1 ;01076d1817b0
|
||||
neg.l @+er1 ;01056d1817b0
|
||||
neg.l @er1- ;01066d1817b0
|
||||
neg.l @(0x1234:16,er1) ;01046f18123417b0
|
||||
neg.l @(0x12345678:32,er1) ;78946b281234567817b0
|
||||
neg.l @(0x1234:16,r2l.b) ;01056f28123417b0
|
||||
neg.l @(0x1234:16,r2.w) ;01066f28123417b0
|
||||
neg.l @(0x1234:16,er2.l) ;01076f28123417b0
|
||||
neg.l @(0x12345678:32,r2l.b) ;78a56b281234567817b0
|
||||
neg.l @(0x12345678:32,r2.w) ;78a66b281234567817b0
|
||||
neg.l @(0x12345678:32,er2.l) ;78a76b281234567817b0
|
||||
neg.l @0x1234:16 ;01046b08123417b0
|
||||
neg.l @0x12345678:32 ;01046b281234567817b0
|
||||
|
||||
tas @er1 ;01e07b1c
|
||||
|
||||
extu.w r1 ;1751
|
||||
extu.w @er1 ;7d901750
|
||||
extu.w @(0x6:2,er1) ;015769181750
|
||||
extu.w @er1+ ;01546d181750
|
||||
extu.w @-er1 ;01576d181750
|
||||
extu.w @+er1 ;01556d181750
|
||||
extu.w @er1- ;01566d181750
|
||||
extu.w @(0x1234:16,er1) ;01546f1812341750
|
||||
extu.w @(0x12345678:32,er1) ;78146b28123456781750
|
||||
extu.w @(0x1234:16,r2l.b) ;01556f2812341750
|
||||
extu.w @(0x1234:16,r2.w) ;01566f2812341750
|
||||
extu.w @(0x1234:16,er2.l) ;01576f2812341750
|
||||
extu.w @(0x12345678:32,r2l.b) ;78256b28123456781750
|
||||
extu.w @(0x12345678:32,r2.w) ;78266b28123456781750
|
||||
extu.w @(0x12345678:32,er2.l) ;78276b28123456781750
|
||||
extu.w @0x1234:16 ;6b1812341750
|
||||
extu.w @0x12345678:32 ;6b38123456781750
|
||||
|
||||
extu.l er1 ;1771
|
||||
extu.l @er1 ;010469181770
|
||||
extu.l @(0xc:2,er1) ;010769181770
|
||||
extu.l @er1+ ;01046d181770
|
||||
extu.l @-er1 ;01076d181770
|
||||
extu.l @+er1 ;01056d181770
|
||||
extu.l @er1- ;01066d181770
|
||||
extu.l @(0x1234:16,er1) ;01046f1812341770
|
||||
extu.l @(0x12345678:32,er1) ;78946b28123456781770
|
||||
extu.l @(0x1234:16,r2l.b) ;01056f2812341770
|
||||
extu.l @(0x1234:16,r2.w) ;01066f2812341770
|
||||
extu.l @(0x1234:16,er2.l) ;01076f2812341770
|
||||
extu.l @(0x12345678:32,r2l.b) ;78a56b28123456781770
|
||||
extu.l @(0x12345678:32,r2.w) ;78a66b28123456781770
|
||||
extu.l @(0x12345678:32,er2.l) ;78a76b28123456781770
|
||||
extu.l @0x1234:16 ;01046b0812341770
|
||||
extu.l @0x12345678:32 ;01046b28123456781770
|
||||
|
||||
extu.l #2,er1 ;1761
|
||||
extu.l #2,@er1 ;010469181760
|
||||
extu.l #2,@(0xc:2,er1) ;010769181760
|
||||
extu.l #2,@er1+ ;01046d181760
|
||||
extu.l #2,@-er1 ;01076d181760
|
||||
extu.l #2,@+er1 ;01056d181760
|
||||
extu.l #2,@er1- ;01066d181760
|
||||
extu.l #2,@(0x1234:16,er1) ;01046f1812341760
|
||||
extu.l #2,@(0x12345678:32,er1) ;78946b28123456781760
|
||||
extu.l #2,@(0x1234:16,r2l.b) ;01056f2812341760
|
||||
extu.l #2,@(0x1234:16,r2.w) ;01066f2812341760
|
||||
extu.l #2,@(0x1234:16,er2.l) ;01076f2812341760
|
||||
extu.l #2,@(0x12345678:32,r2l.b) ;78a56b28123456781760
|
||||
extu.l #2,@(0x12345678:32,r2.w) ;78a66b28123456781760
|
||||
extu.l #2,@(0x12345678:32,er2.l) ;78a76b28123456781760
|
||||
extu.l #2,@0x1234:16 ;01046b0812341760
|
||||
extu.l #2,@0x12345678:32 ;01046b28123456781760
|
||||
|
||||
exts.w r1 ;17d1
|
||||
exts.w @er1 ;7d9017d0
|
||||
exts.w @(0x6:2,er1) ;0157691817d0
|
||||
exts.w @er1+ ;01546d1817d0
|
||||
exts.w @-er1 ;01576d1817d0
|
||||
exts.w @+er1 ;01556d1817d0
|
||||
exts.w @er1- ;01566d1817d0
|
||||
exts.w @(0x1234:16,er1) ;01546f18123417d0
|
||||
exts.w @(0x12345678:32,er1) ;78146b281234567817d0
|
||||
exts.w @(0x1234:16,r2l.b) ;01556f28123417d0
|
||||
exts.w @(0x1234:16,r2.w) ;01566f28123417d0
|
||||
exts.w @(0x1234:16,er2.l) ;01576f28123417d0
|
||||
exts.w @(0x12345678:32,r2l.b) ;78256b281234567817d0
|
||||
exts.w @(0x12345678:32,r2.w) ;78266b281234567817d0
|
||||
exts.w @(0x12345678:32,er2.l) ;78276b281234567817d0
|
||||
exts.w @0x1234:16 ;6b18123417d0
|
||||
exts.w @0x12345678:32 ;6b381234567817d0
|
||||
|
||||
exts.l er1 ;17f1
|
||||
exts.l @er1 ;0104691817f0
|
||||
exts.l @(0xc:2,er1) ;0107691817f0
|
||||
exts.l @er1+ ;01046d1817f0
|
||||
exts.l @-er1 ;01076d1817f0
|
||||
exts.l @+er1 ;01056d1817f0
|
||||
exts.l @er1- ;01066d1817f0
|
||||
exts.l @(0x1234:16,er1) ;01046f18123417f0
|
||||
exts.l @(0x12345678:32,er1) ;78946b281234567817f0
|
||||
exts.l @(0x1234:16,r2l.b) ;01056f28123417f0
|
||||
exts.l @(0x1234:16,r2.w) ;01066f28123417f0
|
||||
exts.l @(0x1234:16,er2.l) ;01076f28123417f0
|
||||
exts.l @(0x12345678:32,r2l.b) ;78a56b281234567817f0
|
||||
exts.l @(0x12345678:32,r2.w) ;78a66b281234567817f0
|
||||
exts.l @(0x12345678:32,er2.l) ;78a76b281234567817f0
|
||||
exts.l @0x1234:16 ;01046b08123417f0
|
||||
exts.l @0x12345678:32 ;01046b281234567817f0
|
||||
|
||||
exts.l #2,er1 ;17e1
|
||||
exts.l #2,@er1 ;0104691817e0
|
||||
exts.l #2,@(0xc:2,er1) ;0107691817e0
|
||||
exts.l #2,@er1+ ;01046d1817e0
|
||||
exts.l #2,@-er1 ;01076d1817e0
|
||||
exts.l #2,@+er1 ;01056d1817e0
|
||||
exts.l #2,@er1- ;01066d1817e0
|
||||
exts.l #2,@(0x1234:16,er1) ;01046f18123417e0
|
||||
exts.l #2,@(0x12345678:32,er1) ;78946b281234567817e0
|
||||
exts.l #2,@(0x1234:16,r2l.b) ;01056f28123417e0
|
||||
exts.l #2,@(0x1234:16,r2.w) ;01066f28123417e0
|
||||
exts.l #2,@(0x1234:16,er2.l) ;01076f28123417e0
|
||||
exts.l #2,@(0x12345678:32,r2l.b) ;78a56b281234567817e0
|
||||
exts.l #2,@(0x12345678:32,r2.w) ;78a66b281234567817e0
|
||||
exts.l #2,@(0x12345678:32,er2.l) ;78a76b281234567817e0
|
||||
exts.l #2,@0x1234:16 ;01046b08123417e0
|
||||
exts.l #2,@0x12345678:32 ;01046b281234567817e0
|
||||
|
||||
.end
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;arith_3
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
.h8300sx
|
||||
.text
|
||||
.global _start
|
||||
_start:
|
||||
neg.b r1h ;1781
|
||||
neg.b @er1 ;7d101780
|
||||
neg.b @(0x3:2,er1) ;017768181780
|
||||
neg.b @er1+ ;01746c181780
|
||||
neg.b @-er1 ;01776c181780
|
||||
neg.b @+er1 ;01756c181780
|
||||
neg.b @er1- ;01766c181780
|
||||
neg.b @(0x1234:16,er1) ;01746e1812341780
|
||||
neg.b @(0x12345678:32,er1) ;78146a28123456781780
|
||||
neg.b @(0x1234:16,r2l.b) ;01756e2812341780
|
||||
neg.b @(0x1234:16,r2.w) ;01766e2812341780
|
||||
neg.b @(0x1234:16,er2.l) ;01776e2812341780
|
||||
neg.b @(0x12345678:32,r2l.b) ;78256a28123456781780
|
||||
neg.b @(0x12345678:32,r2.w) ;78266a28123456781780
|
||||
neg.b @(0x12345678:32,er2.l) ;78276a28123456781780
|
||||
neg.b @0xffffff12:8 ;7f121780
|
||||
neg.b @0x1234:16 ;6a1812341780
|
||||
neg.b @0x12345678:32 ;6a38123456781780
|
||||
|
||||
neg.w r1 ;1791
|
||||
neg.w @er1 ;7d901790
|
||||
neg.w @(0x6:2,er1) ;015769181790
|
||||
neg.w @er1+ ;01546d181790
|
||||
neg.w @-er1 ;01576d181790
|
||||
neg.w @+er1 ;01556d181790
|
||||
neg.w @er1- ;01566d181790
|
||||
neg.w @(0x1234:16,er1) ;01546f1812341790
|
||||
neg.w @(0x12345678:32,er1) ;78146b28123456781790
|
||||
neg.w @(0x1234:16,r2l.b) ;01556f2812341790
|
||||
neg.w @(0x1234:16,r2.w) ;01566f2812341790
|
||||
neg.w @(0x1234:16,er2.l) ;01576f2812341790
|
||||
neg.w @(0x12345678:32,r2l.b) ;78256b28123456781790
|
||||
neg.w @(0x12345678:32,r2.w) ;78266b28123456781790
|
||||
neg.w @(0x12345678:32,er2.l) ;78276b28123456781790
|
||||
neg.w @0x1234:16 ;6b1812341790
|
||||
neg.w @0x12345678:32 ;6b38123456781790
|
||||
|
||||
neg.l er1 ;17b1
|
||||
neg.l @er1 ;0104691817b0
|
||||
neg.l @(0xc:2,er1) ;0107691817b0
|
||||
neg.l @er1+ ;01046d1817b0
|
||||
neg.l @-er1 ;01076d1817b0
|
||||
neg.l @+er1 ;01056d1817b0
|
||||
neg.l @er1- ;01066d1817b0
|
||||
neg.l @(0x1234:16,er1) ;01046f18123417b0
|
||||
neg.l @(0x12345678:32,er1) ;78946b281234567817b0
|
||||
neg.l @(0x1234:16,r2l.b) ;01056f28123417b0
|
||||
neg.l @(0x1234:16,r2.w) ;01066f28123417b0
|
||||
neg.l @(0x1234:16,er2.l) ;01076f28123417b0
|
||||
neg.l @(0x12345678:32,r2l.b) ;78a56b281234567817b0
|
||||
neg.l @(0x12345678:32,r2.w) ;78a66b281234567817b0
|
||||
neg.l @(0x12345678:32,er2.l) ;78a76b281234567817b0
|
||||
neg.l @0x1234:16 ;01046b08123417b0
|
||||
neg.l @0x12345678:32 ;01046b281234567817b0
|
||||
|
||||
tas @er1 ;01e07b1c
|
||||
|
||||
extu.w r1 ;1751
|
||||
extu.w @er1 ;7d901750
|
||||
extu.w @(0x6:2,er1) ;015769181750
|
||||
extu.w @er1+ ;01546d181750
|
||||
extu.w @-er1 ;01576d181750
|
||||
extu.w @+er1 ;01556d181750
|
||||
extu.w @er1- ;01566d181750
|
||||
extu.w @(0x1234:16,er1) ;01546f1812341750
|
||||
extu.w @(0x12345678:32,er1) ;78146b28123456781750
|
||||
extu.w @(0x1234:16,r2l.b) ;01556f2812341750
|
||||
extu.w @(0x1234:16,r2.w) ;01566f2812341750
|
||||
extu.w @(0x1234:16,er2.l) ;01576f2812341750
|
||||
extu.w @(0x12345678:32,r2l.b) ;78256b28123456781750
|
||||
extu.w @(0x12345678:32,r2.w) ;78266b28123456781750
|
||||
extu.w @(0x12345678:32,er2.l) ;78276b28123456781750
|
||||
extu.w @0x1234:16 ;6b1812341750
|
||||
extu.w @0x12345678:32 ;6b38123456781750
|
||||
|
||||
extu.l er1 ;1771
|
||||
extu.l @er1 ;010469181770
|
||||
extu.l @(0xc:2,er1) ;010769181770
|
||||
extu.l @er1+ ;01046d181770
|
||||
extu.l @-er1 ;01076d181770
|
||||
extu.l @+er1 ;01056d181770
|
||||
extu.l @er1- ;01066d181770
|
||||
extu.l @(0x1234:16,er1) ;01046f1812341770
|
||||
extu.l @(0x12345678:32,er1) ;78946b28123456781770
|
||||
extu.l @(0x1234:16,r2l.b) ;01056f2812341770
|
||||
extu.l @(0x1234:16,r2.w) ;01066f2812341770
|
||||
extu.l @(0x1234:16,er2.l) ;01076f2812341770
|
||||
extu.l @(0x12345678:32,r2l.b) ;78a56b28123456781770
|
||||
extu.l @(0x12345678:32,r2.w) ;78a66b28123456781770
|
||||
extu.l @(0x12345678:32,er2.l) ;78a76b28123456781770
|
||||
extu.l @0x1234:16 ;01046b0812341770
|
||||
extu.l @0x12345678:32 ;01046b28123456781770
|
||||
|
||||
extu.l #2,er1 ;1761
|
||||
extu.l #2,@er1 ;010469181760
|
||||
extu.l #2,@(0xc:2,er1) ;010769181760
|
||||
extu.l #2,@er1+ ;01046d181760
|
||||
extu.l #2,@-er1 ;01076d181760
|
||||
extu.l #2,@+er1 ;01056d181760
|
||||
extu.l #2,@er1- ;01066d181760
|
||||
extu.l #2,@(0x1234:16,er1) ;01046f1812341760
|
||||
extu.l #2,@(0x12345678:32,er1) ;78946b28123456781760
|
||||
extu.l #2,@(0x1234:16,r2l.b) ;01056f2812341760
|
||||
extu.l #2,@(0x1234:16,r2.w) ;01066f2812341760
|
||||
extu.l #2,@(0x1234:16,er2.l) ;01076f2812341760
|
||||
extu.l #2,@(0x12345678:32,r2l.b) ;78a56b28123456781760
|
||||
extu.l #2,@(0x12345678:32,r2.w) ;78a66b28123456781760
|
||||
extu.l #2,@(0x12345678:32,er2.l) ;78a76b28123456781760
|
||||
extu.l #2,@0x1234:16 ;01046b0812341760
|
||||
extu.l #2,@0x12345678:32 ;01046b28123456781760
|
||||
|
||||
exts.w r1 ;17d1
|
||||
exts.w @er1 ;7d9017d0
|
||||
exts.w @(0x6:2,er1) ;0157691817d0
|
||||
exts.w @er1+ ;01546d1817d0
|
||||
exts.w @-er1 ;01576d1817d0
|
||||
exts.w @+er1 ;01556d1817d0
|
||||
exts.w @er1- ;01566d1817d0
|
||||
exts.w @(0x1234:16,er1) ;01546f18123417d0
|
||||
exts.w @(0x12345678:32,er1) ;78146b281234567817d0
|
||||
exts.w @(0x1234:16,r2l.b) ;01556f28123417d0
|
||||
exts.w @(0x1234:16,r2.w) ;01566f28123417d0
|
||||
exts.w @(0x1234:16,er2.l) ;01576f28123417d0
|
||||
exts.w @(0x12345678:32,r2l.b) ;78256b281234567817d0
|
||||
exts.w @(0x12345678:32,r2.w) ;78266b281234567817d0
|
||||
exts.w @(0x12345678:32,er2.l) ;78276b281234567817d0
|
||||
exts.w @0x1234:16 ;6b18123417d0
|
||||
exts.w @0x12345678:32 ;6b381234567817d0
|
||||
|
||||
exts.l er1 ;17f1
|
||||
exts.l @er1 ;0104691817f0
|
||||
exts.l @(0xc:2,er1) ;0107691817f0
|
||||
exts.l @er1+ ;01046d1817f0
|
||||
exts.l @-er1 ;01076d1817f0
|
||||
exts.l @+er1 ;01056d1817f0
|
||||
exts.l @er1- ;01066d1817f0
|
||||
exts.l @(0x1234:16,er1) ;01046f18123417f0
|
||||
exts.l @(0x12345678:32,er1) ;78946b281234567817f0
|
||||
exts.l @(0x1234:16,r2l.b) ;01056f28123417f0
|
||||
exts.l @(0x1234:16,r2.w) ;01066f28123417f0
|
||||
exts.l @(0x1234:16,er2.l) ;01076f28123417f0
|
||||
exts.l @(0x12345678:32,r2l.b) ;78a56b281234567817f0
|
||||
exts.l @(0x12345678:32,r2.w) ;78a66b281234567817f0
|
||||
exts.l @(0x12345678:32,er2.l) ;78a76b281234567817f0
|
||||
exts.l @0x1234:16 ;01046b08123417f0
|
||||
exts.l @0x12345678:32 ;01046b281234567817f0
|
||||
|
||||
exts.l #2,er1 ;17e1
|
||||
exts.l #2,@er1 ;0104691817e0
|
||||
exts.l #2,@(0xc:2,er1) ;0107691817e0
|
||||
exts.l #2,@er1+ ;01046d1817e0
|
||||
exts.l #2,@-er1 ;01076d1817e0
|
||||
exts.l #2,@+er1 ;01056d1817e0
|
||||
exts.l #2,@er1- ;01066d1817e0
|
||||
exts.l #2,@(0x1234:16,er1) ;01046f18123417e0
|
||||
exts.l #2,@(0x12345678:32,er1) ;78946b281234567817e0
|
||||
exts.l #2,@(0x1234:16,r2l.b) ;01056f28123417e0
|
||||
exts.l #2,@(0x1234:16,r2.w) ;01066f28123417e0
|
||||
exts.l #2,@(0x1234:16,er2.l) ;01076f28123417e0
|
||||
exts.l #2,@(0x12345678:32,r2l.b) ;78a56b281234567817e0
|
||||
exts.l #2,@(0x12345678:32,r2.w) ;78a66b281234567817e0
|
||||
exts.l #2,@(0x12345678:32,er2.l) ;78a76b281234567817e0
|
||||
exts.l #2,@0x1234:16 ;01046b08123417e0
|
||||
exts.l #2,@0x12345678:32 ;01046b281234567817e0
|
||||
|
||||
.end
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,176 +1,176 @@
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;bit
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
.h8300sx
|
||||
.text
|
||||
.global _start
|
||||
_start:
|
||||
bset #0x7,r1h ;7071
|
||||
bset #0x7,@er1 ;7d107070
|
||||
bset #0x7,@0xffffff12:8 ;7f127070
|
||||
bset #0x7,@0x1234:16 ;6a1812347070
|
||||
bset #0x7,@0x12345678:32 ;6a38123456787070
|
||||
|
||||
bset r3h,r1h ;6031
|
||||
bset r3h,@er1 ;7d106030
|
||||
bset r3h,@0xffffff12:8 ;7f126030
|
||||
bset r3h,@0x1234:16 ;6a1812346030
|
||||
bset r3h,@0x12345678:32 ;6a38123456786030
|
||||
|
||||
bset/eq #0x7,@er1 ;7d107077
|
||||
bset/eq #0x7,@0xffffff12:8 ;7f127077
|
||||
bset/eq #0x7,@0x1234:16 ;6a1812347077
|
||||
bset/eq #0x7,@0x12345678:32 ;6a38123456787077
|
||||
|
||||
bset/eq r3h,@er1 ;7d106037
|
||||
bset/eq r3h,@0xffffff12:8 ;7f126037
|
||||
bset/eq r3h,@0x1234:16 ;6a1812346037
|
||||
bset/eq r3h,@0x12345678:32 ;6a38123456786037
|
||||
|
||||
bset/ne #0x7,@er1 ;7d107076
|
||||
bset/ne #0x7,@0xffffff12:8 ;7f127076
|
||||
bset/ne #0x7,@0x1234:16 ;6a1812347076
|
||||
bset/ne #0x7,@0x12345678:32 ;6a38123456787076
|
||||
|
||||
bset/ne r3h,@er1 ;7d106036
|
||||
bset/ne r3h,@0xffffff12:8 ;7f126036
|
||||
bset/ne r3h,@0x1234:16 ;6a1812346036
|
||||
bset/ne r3h,@0x12345678:32 ;6a38123456786036
|
||||
|
||||
bnot #0x7,r1h ;7171
|
||||
bnot #0x7,@er1 ;7d107170
|
||||
bnot #0x7,@0xffffff12:8 ;7f127170
|
||||
bnot #0x7,@0x1234:16 ;6a1812347170
|
||||
bnot #0x7,@0x12345678:32 ;6a38123456787170
|
||||
|
||||
bnot r3h,r1h ;6131
|
||||
bnot r3h,@er1 ;7d106130
|
||||
bnot r3h,@0xffffff12:8 ;7f126130
|
||||
bnot r3h,@0x1234:16 ;6a1812346130
|
||||
bnot r3h,@0x12345678:32 ;6a38123456786130
|
||||
|
||||
bclr #0x7,r1h ;7271
|
||||
bclr #0x7,@er1 ;7d107270
|
||||
bclr #0x7,@0xffffff12:8 ;7f127270
|
||||
bclr #0x7,@0x1234:16 ;6a1812347270
|
||||
bclr #0x7,@0x12345678:32 ;6a38123456787270
|
||||
|
||||
bclr r3h,r1h ;6231
|
||||
bclr r3h,@er1 ;7d106230
|
||||
bclr r3h,@0xffffff12:8 ;7f126230
|
||||
bclr r3h,@0x1234:16 ;6a1812346230
|
||||
bclr r3h,@0x12345678:32 ;6a38123456786230
|
||||
|
||||
bclr/eq #0x7,@er1 ;7d107277
|
||||
bclr/eq #0x7,@0xffffff12:8 ;7f127277
|
||||
bclr/eq #0x7,@0x1234:16 ;6a1812347277
|
||||
bclr/eq #0x7,@0x12345678:32 ;6a38123456787277
|
||||
|
||||
bclr/eq r3h,@er1 ;7d106237
|
||||
bclr/eq r3h,@0xffffff12:8 ;7f126237
|
||||
bclr/eq r3h,@0x1234:16 ;6a1812346237
|
||||
bclr/eq r3h,@0x12345678:32 ;6a38123456786237
|
||||
|
||||
bclr/ne #0x7,@er1 ;7d107276
|
||||
bclr/ne #0x7,@0xffffff12:8 ;7f127276
|
||||
bclr/ne #0x7,@0x1234:16 ;6a1812347276
|
||||
bclr/ne #0x7,@0x12345678:32 ;6a38123456787276
|
||||
|
||||
bclr/ne r3h,@er1 ;7d106236
|
||||
bclr/ne r3h,@0xffffff12:8 ;7f126236
|
||||
bclr/ne r3h,@0x1234:16 ;6a1812346236
|
||||
bclr/ne r3h,@0x12345678:32 ;6a38123456786236
|
||||
|
||||
btst #0x7,r1h ;7371
|
||||
btst #0x7,@er1 ;7c107370
|
||||
btst #0x7,@0xffffff12:8 ;7e127370
|
||||
btst #0x7,@0x1234:16 ;6a1012347370
|
||||
btst #0x7,@0x12345678:32 ;6a30123456787370
|
||||
|
||||
btst r3h,r1h ;6331
|
||||
btst r3h,@er1 ;7c106330
|
||||
btst r3h,@0xffffff12:8 ;7e126330
|
||||
btst r3h,@0x1234:16 ;6a1012346330
|
||||
btst r3h,@0x12345678:32 ;6a30123456786330
|
||||
|
||||
bor #0x7,r1h ;7471
|
||||
bor #0x7,@er1 ;7c107470
|
||||
bor #0x7,@0xffffff12:8 ;7e127470
|
||||
bor #0x7,@0x1234:16 ;6a1012347470
|
||||
bor #0x7,@0x12345678:32 ;6a30123456787470
|
||||
|
||||
bior #0x7,r1h ;74f1
|
||||
bior #0x7,@er1 ;7c1074f0
|
||||
bior #0x7,@0xffffff12:8 ;7e1274f0
|
||||
bior #0x7,@0x1234:16 ;6a10123474f0
|
||||
bior #0x7,@0x12345678:32 ;6a301234567874f0
|
||||
|
||||
bxor #0x7,r1h ;7571
|
||||
bxor #0x7,@er1 ;7c107570
|
||||
bxor #0x7,@0xffffff12:8 ;7e127570
|
||||
bxor #0x7,@0x1234:16 ;6a1012347570
|
||||
bxor #0x7,@0x12345678:32 ;6a30123456787570
|
||||
|
||||
bixor #0x7,r1h ;75f1
|
||||
bixor #0x7,@er1 ;7c1075f0
|
||||
bixor #0x7,@0xffffff12:8 ;7e1275f0
|
||||
bixor #0x7,@0x1234:16 ;6a10123475f0
|
||||
bixor #0x7,@0x12345678:32 ;6a301234567875f0
|
||||
|
||||
band #0x7,r1h ;7671
|
||||
band #0x7,@er1 ;7c107670
|
||||
band #0x7,@0xffffff12:8 ;7e127670
|
||||
band #0x7,@0x1234:16 ;6a1012347670
|
||||
band #0x7,@0x12345678:32 ;6a30123456787670
|
||||
|
||||
biand #0x7,r1h ;76f1
|
||||
biand #0x7,@er1 ;7c1076f0
|
||||
biand #0x7,@0xffffff12:8 ;7e1276f0
|
||||
biand #0x7,@0x1234:16 ;6a10123476f0
|
||||
biand #0x7,@0x12345678:32 ;6a301234567876f0
|
||||
|
||||
bld #0x7,r1h ;7771
|
||||
bld #0x7,@er1 ;7c107770
|
||||
bld #0x7,@0xffffff12:8 ;7e127770
|
||||
bld #0x7,@0x1234:16 ;6a1012347770
|
||||
bld #0x7,@0x12345678:32 ;6a30123456787770
|
||||
|
||||
bild #0x7,r1h ;77f1
|
||||
bild #0x7,@er1 ;7c1077f0
|
||||
bild #0x7,@0xffffff12:8 ;7e1277f0
|
||||
bild #0x7,@0x1234:16 ;6a10123477f0
|
||||
bild #0x7,@0x12345678:32 ;6a301234567877f0
|
||||
|
||||
bst #0x7,r1h ;6771
|
||||
bst #0x7,@er1 ;7d106770
|
||||
bst #0x7,@0xffffff12:8 ;7f126770
|
||||
bst #0x7,@0x1234:16 ;6a1812346770
|
||||
bst #0x7,@0x12345678:32 ;6a38123456786770
|
||||
|
||||
bstz #0x7,@er1 ;7d106777
|
||||
bstz #0x7,@0xffffff12:8 ;7f126777
|
||||
bstz #0x7,@0x1234:16 ;6a1812346777
|
||||
bstz #0x7,@0x12345678:32 ;6a38123456786777
|
||||
|
||||
bist #0x7,r1h ;67f1
|
||||
bist #0x7,@er1 ;7d1067f0
|
||||
bist #0x7,@0xffffff12:8 ;7f1267f0
|
||||
bist #0x7,@0x1234:16 ;6a18123467f0
|
||||
bist #0x7,@0x12345678:32 ;6a381234567867f0
|
||||
|
||||
bistz #0x7,@er1 ;7d1067f7
|
||||
bistz #0x7,@0xffffff12:8 ;7f1267f7
|
||||
bistz #0x7,@0x1234:16 ;6a18123467f7
|
||||
bistz #0x7,@0x12345678:32 ;6a381234567867f7
|
||||
|
||||
bfld #0x34:8,@er1,r3h ;7c10f334
|
||||
bfld #0x34:8,@0xffffff12:8,r3h ;7e12f334
|
||||
bfld #0x34:8,@0x1234:16,r3h ;6a101234f334
|
||||
bfld #0x34:8,@0x12345678:32,r3h ;6a3012345678f334
|
||||
|
||||
bfst r3h,#0x34:8,@er1 ;7d10f334
|
||||
bfst r3h,#0x34:8,@0xffffff12:8 ;7f12f334
|
||||
bfst r3h,#0x34:8,@0x1234:16 ;6a181234f334
|
||||
bfst r3h,#0x34:8,@0x12345678:32 ;6a3812345678f334
|
||||
|
||||
.end
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;bit
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
.h8300sx
|
||||
.text
|
||||
.global _start
|
||||
_start:
|
||||
bset #0x7,r1h ;7071
|
||||
bset #0x7,@er1 ;7d107070
|
||||
bset #0x7,@0xffffff12:8 ;7f127070
|
||||
bset #0x7,@0x1234:16 ;6a1812347070
|
||||
bset #0x7,@0x12345678:32 ;6a38123456787070
|
||||
|
||||
bset r3h,r1h ;6031
|
||||
bset r3h,@er1 ;7d106030
|
||||
bset r3h,@0xffffff12:8 ;7f126030
|
||||
bset r3h,@0x1234:16 ;6a1812346030
|
||||
bset r3h,@0x12345678:32 ;6a38123456786030
|
||||
|
||||
bset/eq #0x7,@er1 ;7d107077
|
||||
bset/eq #0x7,@0xffffff12:8 ;7f127077
|
||||
bset/eq #0x7,@0x1234:16 ;6a1812347077
|
||||
bset/eq #0x7,@0x12345678:32 ;6a38123456787077
|
||||
|
||||
bset/eq r3h,@er1 ;7d106037
|
||||
bset/eq r3h,@0xffffff12:8 ;7f126037
|
||||
bset/eq r3h,@0x1234:16 ;6a1812346037
|
||||
bset/eq r3h,@0x12345678:32 ;6a38123456786037
|
||||
|
||||
bset/ne #0x7,@er1 ;7d107076
|
||||
bset/ne #0x7,@0xffffff12:8 ;7f127076
|
||||
bset/ne #0x7,@0x1234:16 ;6a1812347076
|
||||
bset/ne #0x7,@0x12345678:32 ;6a38123456787076
|
||||
|
||||
bset/ne r3h,@er1 ;7d106036
|
||||
bset/ne r3h,@0xffffff12:8 ;7f126036
|
||||
bset/ne r3h,@0x1234:16 ;6a1812346036
|
||||
bset/ne r3h,@0x12345678:32 ;6a38123456786036
|
||||
|
||||
bnot #0x7,r1h ;7171
|
||||
bnot #0x7,@er1 ;7d107170
|
||||
bnot #0x7,@0xffffff12:8 ;7f127170
|
||||
bnot #0x7,@0x1234:16 ;6a1812347170
|
||||
bnot #0x7,@0x12345678:32 ;6a38123456787170
|
||||
|
||||
bnot r3h,r1h ;6131
|
||||
bnot r3h,@er1 ;7d106130
|
||||
bnot r3h,@0xffffff12:8 ;7f126130
|
||||
bnot r3h,@0x1234:16 ;6a1812346130
|
||||
bnot r3h,@0x12345678:32 ;6a38123456786130
|
||||
|
||||
bclr #0x7,r1h ;7271
|
||||
bclr #0x7,@er1 ;7d107270
|
||||
bclr #0x7,@0xffffff12:8 ;7f127270
|
||||
bclr #0x7,@0x1234:16 ;6a1812347270
|
||||
bclr #0x7,@0x12345678:32 ;6a38123456787270
|
||||
|
||||
bclr r3h,r1h ;6231
|
||||
bclr r3h,@er1 ;7d106230
|
||||
bclr r3h,@0xffffff12:8 ;7f126230
|
||||
bclr r3h,@0x1234:16 ;6a1812346230
|
||||
bclr r3h,@0x12345678:32 ;6a38123456786230
|
||||
|
||||
bclr/eq #0x7,@er1 ;7d107277
|
||||
bclr/eq #0x7,@0xffffff12:8 ;7f127277
|
||||
bclr/eq #0x7,@0x1234:16 ;6a1812347277
|
||||
bclr/eq #0x7,@0x12345678:32 ;6a38123456787277
|
||||
|
||||
bclr/eq r3h,@er1 ;7d106237
|
||||
bclr/eq r3h,@0xffffff12:8 ;7f126237
|
||||
bclr/eq r3h,@0x1234:16 ;6a1812346237
|
||||
bclr/eq r3h,@0x12345678:32 ;6a38123456786237
|
||||
|
||||
bclr/ne #0x7,@er1 ;7d107276
|
||||
bclr/ne #0x7,@0xffffff12:8 ;7f127276
|
||||
bclr/ne #0x7,@0x1234:16 ;6a1812347276
|
||||
bclr/ne #0x7,@0x12345678:32 ;6a38123456787276
|
||||
|
||||
bclr/ne r3h,@er1 ;7d106236
|
||||
bclr/ne r3h,@0xffffff12:8 ;7f126236
|
||||
bclr/ne r3h,@0x1234:16 ;6a1812346236
|
||||
bclr/ne r3h,@0x12345678:32 ;6a38123456786236
|
||||
|
||||
btst #0x7,r1h ;7371
|
||||
btst #0x7,@er1 ;7c107370
|
||||
btst #0x7,@0xffffff12:8 ;7e127370
|
||||
btst #0x7,@0x1234:16 ;6a1012347370
|
||||
btst #0x7,@0x12345678:32 ;6a30123456787370
|
||||
|
||||
btst r3h,r1h ;6331
|
||||
btst r3h,@er1 ;7c106330
|
||||
btst r3h,@0xffffff12:8 ;7e126330
|
||||
btst r3h,@0x1234:16 ;6a1012346330
|
||||
btst r3h,@0x12345678:32 ;6a30123456786330
|
||||
|
||||
bor #0x7,r1h ;7471
|
||||
bor #0x7,@er1 ;7c107470
|
||||
bor #0x7,@0xffffff12:8 ;7e127470
|
||||
bor #0x7,@0x1234:16 ;6a1012347470
|
||||
bor #0x7,@0x12345678:32 ;6a30123456787470
|
||||
|
||||
bior #0x7,r1h ;74f1
|
||||
bior #0x7,@er1 ;7c1074f0
|
||||
bior #0x7,@0xffffff12:8 ;7e1274f0
|
||||
bior #0x7,@0x1234:16 ;6a10123474f0
|
||||
bior #0x7,@0x12345678:32 ;6a301234567874f0
|
||||
|
||||
bxor #0x7,r1h ;7571
|
||||
bxor #0x7,@er1 ;7c107570
|
||||
bxor #0x7,@0xffffff12:8 ;7e127570
|
||||
bxor #0x7,@0x1234:16 ;6a1012347570
|
||||
bxor #0x7,@0x12345678:32 ;6a30123456787570
|
||||
|
||||
bixor #0x7,r1h ;75f1
|
||||
bixor #0x7,@er1 ;7c1075f0
|
||||
bixor #0x7,@0xffffff12:8 ;7e1275f0
|
||||
bixor #0x7,@0x1234:16 ;6a10123475f0
|
||||
bixor #0x7,@0x12345678:32 ;6a301234567875f0
|
||||
|
||||
band #0x7,r1h ;7671
|
||||
band #0x7,@er1 ;7c107670
|
||||
band #0x7,@0xffffff12:8 ;7e127670
|
||||
band #0x7,@0x1234:16 ;6a1012347670
|
||||
band #0x7,@0x12345678:32 ;6a30123456787670
|
||||
|
||||
biand #0x7,r1h ;76f1
|
||||
biand #0x7,@er1 ;7c1076f0
|
||||
biand #0x7,@0xffffff12:8 ;7e1276f0
|
||||
biand #0x7,@0x1234:16 ;6a10123476f0
|
||||
biand #0x7,@0x12345678:32 ;6a301234567876f0
|
||||
|
||||
bld #0x7,r1h ;7771
|
||||
bld #0x7,@er1 ;7c107770
|
||||
bld #0x7,@0xffffff12:8 ;7e127770
|
||||
bld #0x7,@0x1234:16 ;6a1012347770
|
||||
bld #0x7,@0x12345678:32 ;6a30123456787770
|
||||
|
||||
bild #0x7,r1h ;77f1
|
||||
bild #0x7,@er1 ;7c1077f0
|
||||
bild #0x7,@0xffffff12:8 ;7e1277f0
|
||||
bild #0x7,@0x1234:16 ;6a10123477f0
|
||||
bild #0x7,@0x12345678:32 ;6a301234567877f0
|
||||
|
||||
bst #0x7,r1h ;6771
|
||||
bst #0x7,@er1 ;7d106770
|
||||
bst #0x7,@0xffffff12:8 ;7f126770
|
||||
bst #0x7,@0x1234:16 ;6a1812346770
|
||||
bst #0x7,@0x12345678:32 ;6a38123456786770
|
||||
|
||||
bstz #0x7,@er1 ;7d106777
|
||||
bstz #0x7,@0xffffff12:8 ;7f126777
|
||||
bstz #0x7,@0x1234:16 ;6a1812346777
|
||||
bstz #0x7,@0x12345678:32 ;6a38123456786777
|
||||
|
||||
bist #0x7,r1h ;67f1
|
||||
bist #0x7,@er1 ;7d1067f0
|
||||
bist #0x7,@0xffffff12:8 ;7f1267f0
|
||||
bist #0x7,@0x1234:16 ;6a18123467f0
|
||||
bist #0x7,@0x12345678:32 ;6a381234567867f0
|
||||
|
||||
bistz #0x7,@er1 ;7d1067f7
|
||||
bistz #0x7,@0xffffff12:8 ;7f1267f7
|
||||
bistz #0x7,@0x1234:16 ;6a18123467f7
|
||||
bistz #0x7,@0x12345678:32 ;6a381234567867f7
|
||||
|
||||
bfld #0x34:8,@er1,r3h ;7c10f334
|
||||
bfld #0x34:8,@0xffffff12:8,r3h ;7e12f334
|
||||
bfld #0x34:8,@0x1234:16,r3h ;6a101234f334
|
||||
bfld #0x34:8,@0x12345678:32,r3h ;6a3012345678f334
|
||||
|
||||
bfst r3h,#0x34:8,@er1 ;7d10f334
|
||||
bfst r3h,#0x34:8,@0xffffff12:8 ;7f12f334
|
||||
bfst r3h,#0x34:8,@0x1234:16 ;6a181234f334
|
||||
bfst r3h,#0x34:8,@0x12345678:32 ;6a3812345678f334
|
||||
|
||||
.end
|
||||
|
@ -1,159 +1,159 @@
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;others
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
.h8300sx
|
||||
.text
|
||||
.org 0x12
|
||||
lab_12:
|
||||
.org 0x1234
|
||||
.global _start
|
||||
_start:
|
||||
bra 0x12+.+2 ;4012
|
||||
brn 0x12+.+2 ;4112
|
||||
bhi 0x12+.+2 ;4212
|
||||
bls 0x12+.+2 ;4312
|
||||
bcc 0x12+.+2 ;4412
|
||||
bcs 0x12+.+2 ;4512
|
||||
bne 0x12+.+2 ;4612
|
||||
beq 0x12+.+2 ;4712
|
||||
bvc 0x12+.+2 ;4812
|
||||
bvs 0x12+.+2 ;4912
|
||||
bpl 0x12+.+2 ;4a12
|
||||
bmi 0x12+.+2 ;4b12
|
||||
bge 0x12+.+2 ;4c12
|
||||
blt 0x12+.+2 ;4d12
|
||||
bgt 0x12+.+2 ;4e12
|
||||
ble 0x12+.+2 ;4f12
|
||||
|
||||
bra 0x1234+.+4 ;58001234
|
||||
brn 0x1234+.+4 ;58101234
|
||||
bhi 0x1234+.+4 ;58201234
|
||||
bls 0x1234+.+4 ;58301234
|
||||
bcc 0x1234+.+4 ;58401234
|
||||
bcs 0x1234+.+4 ;58501234
|
||||
bne 0x1234+.+4 ;58601234
|
||||
beq 0x1234+.+4 ;58701234
|
||||
bvc 0x1234+.+4 ;58801234
|
||||
bvs 0x1234+.+4 ;58901234
|
||||
bpl 0x1234+.+4 ;58a01234
|
||||
bmi 0x1234+.+4 ;58b01234
|
||||
bge 0x1234+.+4 ;58c01234
|
||||
blt 0x1234+.+4 ;58d01234
|
||||
bgt 0x1234+.+4 ;58e01234
|
||||
ble 0x1234+.+4 ;58f01234
|
||||
|
||||
bra/s 0x12+.+2 ;4013
|
||||
nop ;0000
|
||||
|
||||
bra/bc #0x7,@er2,0x12+.+4 ;7c204712
|
||||
bra/bc #0x7,@0xffffff9a:8,0x12+.+4 ;7e9a4712
|
||||
bra/bc #0x7,@0x1234:16,0x12+.+6 ;6a1012344712
|
||||
bra/bc #0x7,@0x12345678:32,0x12+.+8 ;6a30123456784712
|
||||
bra/bc #0x7,@er2,0x1234+.+6 ;7c2058701234
|
||||
bra/bc #0x7,@0xffffff12:8,0x1234+.+6 ;7e1258701234
|
||||
bra/bc #0x7,@0xffff9abc:16,0x1234+.+8 ;6a109abc58701234
|
||||
bra/bc #0x7,@0x12345678:32,0x1234+.+0xa ;6a301234567858701234
|
||||
|
||||
bra/bs #0x7,@er2,0x12+.+4 ;7c204f12
|
||||
bra/bs #0x7,@0xffffff9a:8,0x12+.+4 ;7e9a4f12
|
||||
bra/bs #0x7,@0x1234:16,0x12+.+6 ;6a1012344f12
|
||||
bra/bs #0x7,@0x12345678:32,0x12+.+8 ;6a30123456784f12
|
||||
bra/bs #0x7,@er2,0x1234+.+6 ;7c2058f01234
|
||||
bra/bs #0x7,@0xffffff12:8,0x1234+.+6 ;7e1258f01234
|
||||
bra/bs #0x7,@0xffff9abc:16,0x1234+.+8 ;6a109abc58f01234
|
||||
bra/bs #0x7,@0x12345678:32,0x1234+.+0xa ;6a301234567858f01234
|
||||
|
||||
bsr/bc #0x7,@er2,0x1234+.+6 ;7c205c701234
|
||||
bsr/bc #0x7,@0xffffff12:8,0x1234+.+6 ;7e125c701234
|
||||
bsr/bc #0x7,@0xffff9abc:16,0x1234+.+8 ;6a109abc5c701234
|
||||
bsr/bc #0x7,@0x12345678:32,0x1234+.+0xa ;6a30123456785c701234
|
||||
|
||||
bsr/bs #0x7,@er2,0x1234+.+6 ;7c205cf01234
|
||||
bsr/bs #0x7,@0xffffff12:8,0x1234+.+6 ;7e125cf01234
|
||||
bsr/bs #0x7,@0xffff9abc:16,0x1234+.+8 ;6a109abc5cf01234
|
||||
bsr/bs #0x7,@0x12345678:32,0x1234+.+0xa ;6a30123456785cf01234
|
||||
|
||||
bra r2l.b ;5925
|
||||
bra r2.w ;5926
|
||||
bra er2.l ;5927
|
||||
|
||||
bsr 0x12+.+2 ;5512
|
||||
bsr 0x1234+.+4 ;5c001234
|
||||
bsr r2l.b ;5d25
|
||||
bsr r2.w ;5d26
|
||||
bsr er2.l ;5d27
|
||||
|
||||
jmp @er2 ;5920
|
||||
jmp @0x123456:24 ;5a123456
|
||||
jmp @0x12345678:32 ;590812345678
|
||||
jmp @@0x12 ;5b12
|
||||
jmp @@0x234 ;598d
|
||||
|
||||
jsr @er2 ;5d20
|
||||
jsr @0x123456:24 ;5e123456
|
||||
jsr @0x12345678:32 ;5d0812345678
|
||||
jsr @@0x12 ;5f12
|
||||
jsr @@0x234 ;5d8d
|
||||
|
||||
rts ;5470
|
||||
rts/l er3 ;5403
|
||||
rts/l er1-er2 ;5412
|
||||
rts/l er2-er4 ;5424
|
||||
rts/l er3-er6 ;5436
|
||||
|
||||
trapa #0x3 ;5730
|
||||
|
||||
rte ;5670
|
||||
rte/l er3 ;5603
|
||||
rte/l er1-er2 ;5612
|
||||
rte/l er2-er4 ;5624
|
||||
rte/l er3-er6 ;5636
|
||||
|
||||
ldc.b #0x12:8,ccr ;0712
|
||||
ldc.b r3h,ccr ;0303
|
||||
ldc.w @er3,ccr ;01406930
|
||||
ldc.w @er3+,ccr ;01406d30
|
||||
ldc.w @(0x1234:16,er3),ccr ;01406f301234
|
||||
ldc.w @(0x12345678:32,er3),ccr ;014078306b2012345678
|
||||
ldc.w @0x1234:16,ccr ;01406b001234
|
||||
ldc.w @0x12345678:32,ccr ;01406b2012345678
|
||||
|
||||
ldc.b #0x12:8,exr ;01410712
|
||||
ldc.b r3h,exr ;0313
|
||||
ldc.w @er3,exr ;01416930
|
||||
ldc.w @er3+,exr ;01416d30
|
||||
ldc.w @(0x1234:16,er3),exr ;01416f301234
|
||||
ldc.w @(0x12345678:32,er3),exr ;014178306b2012345678
|
||||
ldc.w @0x1234:16,exr ;01416b001234
|
||||
ldc.w @0x12345678:32,exr ;01416b2012345678
|
||||
|
||||
stc.b ccr,r1h ;0201
|
||||
stc.w ccr,@er1 ;01406990
|
||||
stc.w ccr,@-er1 ;01406d90
|
||||
stc.w ccr,@(0x1234:16,er1) ;01406f901234
|
||||
stc.w ccr,@(0x12345678:32,er1) ;014078106ba012345678
|
||||
stc.w ccr,@0x1234:16 ;01406b801234
|
||||
stc.w ccr,@0x12345678:32 ;01406ba012345678
|
||||
|
||||
stc.b exr,r1h ;0211
|
||||
stc.w exr,@er1 ;01416990
|
||||
stc.w exr,@-er1 ;01416d90
|
||||
stc.w exr,@(0x1234:16,er1) ;01416f901234
|
||||
stc.w exr,@(0x12345678:32,er1) ;014178106ba012345678
|
||||
stc.w exr,@0x1234:16 ;01416b801234
|
||||
stc.w exr,@0x12345678:32 ;01416ba012345678
|
||||
|
||||
orc.b #0x12:8,ccr ;0412
|
||||
orc.b #0x12:8,exr ;01410412
|
||||
|
||||
xorc.b #0x12:8,ccr ;0512
|
||||
xorc.b #0x12:8,exr ;01410512
|
||||
|
||||
andc.b #0x12:8,ccr ;0612
|
||||
andc.b #0x12:8,exr ;01410612
|
||||
|
||||
sleep ;0180
|
||||
|
||||
nop ;0000
|
||||
|
||||
.end
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;others
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
.h8300sx
|
||||
.text
|
||||
.org 0x12
|
||||
lab_12:
|
||||
.org 0x1234
|
||||
.global _start
|
||||
_start:
|
||||
bra 0x12+.+2 ;4012
|
||||
brn 0x12+.+2 ;4112
|
||||
bhi 0x12+.+2 ;4212
|
||||
bls 0x12+.+2 ;4312
|
||||
bcc 0x12+.+2 ;4412
|
||||
bcs 0x12+.+2 ;4512
|
||||
bne 0x12+.+2 ;4612
|
||||
beq 0x12+.+2 ;4712
|
||||
bvc 0x12+.+2 ;4812
|
||||
bvs 0x12+.+2 ;4912
|
||||
bpl 0x12+.+2 ;4a12
|
||||
bmi 0x12+.+2 ;4b12
|
||||
bge 0x12+.+2 ;4c12
|
||||
blt 0x12+.+2 ;4d12
|
||||
bgt 0x12+.+2 ;4e12
|
||||
ble 0x12+.+2 ;4f12
|
||||
|
||||
bra 0x1234+.+4 ;58001234
|
||||
brn 0x1234+.+4 ;58101234
|
||||
bhi 0x1234+.+4 ;58201234
|
||||
bls 0x1234+.+4 ;58301234
|
||||
bcc 0x1234+.+4 ;58401234
|
||||
bcs 0x1234+.+4 ;58501234
|
||||
bne 0x1234+.+4 ;58601234
|
||||
beq 0x1234+.+4 ;58701234
|
||||
bvc 0x1234+.+4 ;58801234
|
||||
bvs 0x1234+.+4 ;58901234
|
||||
bpl 0x1234+.+4 ;58a01234
|
||||
bmi 0x1234+.+4 ;58b01234
|
||||
bge 0x1234+.+4 ;58c01234
|
||||
blt 0x1234+.+4 ;58d01234
|
||||
bgt 0x1234+.+4 ;58e01234
|
||||
ble 0x1234+.+4 ;58f01234
|
||||
|
||||
bra/s 0x12+.+2 ;4013
|
||||
nop ;0000
|
||||
|
||||
bra/bc #0x7,@er2,0x12+.+4 ;7c204712
|
||||
bra/bc #0x7,@0xffffff9a:8,0x12+.+4 ;7e9a4712
|
||||
bra/bc #0x7,@0x1234:16,0x12+.+6 ;6a1012344712
|
||||
bra/bc #0x7,@0x12345678:32,0x12+.+8 ;6a30123456784712
|
||||
bra/bc #0x7,@er2,0x1234+.+6 ;7c2058701234
|
||||
bra/bc #0x7,@0xffffff12:8,0x1234+.+6 ;7e1258701234
|
||||
bra/bc #0x7,@0xffff9abc:16,0x1234+.+8 ;6a109abc58701234
|
||||
bra/bc #0x7,@0x12345678:32,0x1234+.+0xa ;6a301234567858701234
|
||||
|
||||
bra/bs #0x7,@er2,0x12+.+4 ;7c204f12
|
||||
bra/bs #0x7,@0xffffff9a:8,0x12+.+4 ;7e9a4f12
|
||||
bra/bs #0x7,@0x1234:16,0x12+.+6 ;6a1012344f12
|
||||
bra/bs #0x7,@0x12345678:32,0x12+.+8 ;6a30123456784f12
|
||||
bra/bs #0x7,@er2,0x1234+.+6 ;7c2058f01234
|
||||
bra/bs #0x7,@0xffffff12:8,0x1234+.+6 ;7e1258f01234
|
||||
bra/bs #0x7,@0xffff9abc:16,0x1234+.+8 ;6a109abc58f01234
|
||||
bra/bs #0x7,@0x12345678:32,0x1234+.+0xa ;6a301234567858f01234
|
||||
|
||||
bsr/bc #0x7,@er2,0x1234+.+6 ;7c205c701234
|
||||
bsr/bc #0x7,@0xffffff12:8,0x1234+.+6 ;7e125c701234
|
||||
bsr/bc #0x7,@0xffff9abc:16,0x1234+.+8 ;6a109abc5c701234
|
||||
bsr/bc #0x7,@0x12345678:32,0x1234+.+0xa ;6a30123456785c701234
|
||||
|
||||
bsr/bs #0x7,@er2,0x1234+.+6 ;7c205cf01234
|
||||
bsr/bs #0x7,@0xffffff12:8,0x1234+.+6 ;7e125cf01234
|
||||
bsr/bs #0x7,@0xffff9abc:16,0x1234+.+8 ;6a109abc5cf01234
|
||||
bsr/bs #0x7,@0x12345678:32,0x1234+.+0xa ;6a30123456785cf01234
|
||||
|
||||
bra r2l.b ;5925
|
||||
bra r2.w ;5926
|
||||
bra er2.l ;5927
|
||||
|
||||
bsr 0x12+.+2 ;5512
|
||||
bsr 0x1234+.+4 ;5c001234
|
||||
bsr r2l.b ;5d25
|
||||
bsr r2.w ;5d26
|
||||
bsr er2.l ;5d27
|
||||
|
||||
jmp @er2 ;5920
|
||||
jmp @0x123456:24 ;5a123456
|
||||
jmp @0x12345678:32 ;590812345678
|
||||
jmp @@0x12 ;5b12
|
||||
jmp @@0x234 ;598d
|
||||
|
||||
jsr @er2 ;5d20
|
||||
jsr @0x123456:24 ;5e123456
|
||||
jsr @0x12345678:32 ;5d0812345678
|
||||
jsr @@0x12 ;5f12
|
||||
jsr @@0x234 ;5d8d
|
||||
|
||||
rts ;5470
|
||||
rts/l er3 ;5403
|
||||
rts/l er1-er2 ;5412
|
||||
rts/l er2-er4 ;5424
|
||||
rts/l er3-er6 ;5436
|
||||
|
||||
trapa #0x3 ;5730
|
||||
|
||||
rte ;5670
|
||||
rte/l er3 ;5603
|
||||
rte/l er1-er2 ;5612
|
||||
rte/l er2-er4 ;5624
|
||||
rte/l er3-er6 ;5636
|
||||
|
||||
ldc.b #0x12:8,ccr ;0712
|
||||
ldc.b r3h,ccr ;0303
|
||||
ldc.w @er3,ccr ;01406930
|
||||
ldc.w @er3+,ccr ;01406d30
|
||||
ldc.w @(0x1234:16,er3),ccr ;01406f301234
|
||||
ldc.w @(0x12345678:32,er3),ccr ;014078306b2012345678
|
||||
ldc.w @0x1234:16,ccr ;01406b001234
|
||||
ldc.w @0x12345678:32,ccr ;01406b2012345678
|
||||
|
||||
ldc.b #0x12:8,exr ;01410712
|
||||
ldc.b r3h,exr ;0313
|
||||
ldc.w @er3,exr ;01416930
|
||||
ldc.w @er3+,exr ;01416d30
|
||||
ldc.w @(0x1234:16,er3),exr ;01416f301234
|
||||
ldc.w @(0x12345678:32,er3),exr ;014178306b2012345678
|
||||
ldc.w @0x1234:16,exr ;01416b001234
|
||||
ldc.w @0x12345678:32,exr ;01416b2012345678
|
||||
|
||||
stc.b ccr,r1h ;0201
|
||||
stc.w ccr,@er1 ;01406990
|
||||
stc.w ccr,@-er1 ;01406d90
|
||||
stc.w ccr,@(0x1234:16,er1) ;01406f901234
|
||||
stc.w ccr,@(0x12345678:32,er1) ;014078106ba012345678
|
||||
stc.w ccr,@0x1234:16 ;01406b801234
|
||||
stc.w ccr,@0x12345678:32 ;01406ba012345678
|
||||
|
||||
stc.b exr,r1h ;0211
|
||||
stc.w exr,@er1 ;01416990
|
||||
stc.w exr,@-er1 ;01416d90
|
||||
stc.w exr,@(0x1234:16,er1) ;01416f901234
|
||||
stc.w exr,@(0x12345678:32,er1) ;014178106ba012345678
|
||||
stc.w exr,@0x1234:16 ;01416b801234
|
||||
stc.w exr,@0x12345678:32 ;01416ba012345678
|
||||
|
||||
orc.b #0x12:8,ccr ;0412
|
||||
orc.b #0x12:8,exr ;01410412
|
||||
|
||||
xorc.b #0x12:8,ccr ;0512
|
||||
xorc.b #0x12:8,exr ;01410512
|
||||
|
||||
andc.b #0x12:8,ccr ;0612
|
||||
andc.b #0x12:8,exr ;01410612
|
||||
|
||||
sleep ;0180
|
||||
|
||||
nop ;0000
|
||||
|
||||
.end
|
||||
|
Loading…
x
Reference in New Issue
Block a user