mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 15:18:37 +08:00
* gas/mn10300/am33.s: Add .am33 pseudo-op to force am33 mode.
* gas/mn10300/{am33_2.s, am33_3.s, am33_4.s, am33_5.s}: Likewise. * gas/mn10300/{am33_6.s, am33_7.s, am33_8.s}: Likewise. * gas/mn10300/basic.exp: Corresponding changes.
This commit is contained in:
@ -1,4 +1,11 @@
|
|||||||
start-sanitize-am33
|
start-sanitize-am33
|
||||||
|
Fri Jun 26 11:17:46 1998 Jeffrey A Law (law@cygnus.com)
|
||||||
|
|
||||||
|
* gas/mn10300/am33.s: Add .am33 pseudo-op to force am33 mode.
|
||||||
|
* gas/mn10300/{am33_2.s, am33_3.s, am33_4.s, am33_5.s}: Likewise.
|
||||||
|
* gas/mn10300/{am33_6.s, am33_7.s, am33_8.s}: Likewise.
|
||||||
|
* gas/mn10300/basic.exp: Corresponding changes.
|
||||||
|
|
||||||
Wed Jun 24 10:10:52 1998 Jeffrey A Law (law@cygnus.com)
|
Wed Jun 24 10:10:52 1998 Jeffrey A Law (law@cygnus.com)
|
||||||
|
|
||||||
* gas/mn10300/basic.exp (do_am33_3): Fix typo.
|
* gas/mn10300/basic.exp (do_am33_3): Fix typo.
|
||||||
|
46
gas/testsuite/gas/mn10300/am33.s
Normal file
46
gas/testsuite/gas/mn10300/am33.s
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
.text
|
||||||
|
.am33
|
||||||
|
call 256,[a2,a3,exreg0],9
|
||||||
|
call 256,[a2,a3,exreg1],9
|
||||||
|
call 256,[a2,a3,exother],9
|
||||||
|
call 256,[a2,a3,all],9
|
||||||
|
call 131071,[a2,a3,exreg0],9
|
||||||
|
call 131071,[a2,a3,exreg1],9
|
||||||
|
call 131071,[a2,a3,exother],9
|
||||||
|
call 131071,[a2,a3,all],9
|
||||||
|
movm (sp),[a2,a3,exreg0]
|
||||||
|
movm (sp),[a2,a3,exreg1]
|
||||||
|
movm (sp),[a2,a3,exother]
|
||||||
|
movm (sp),[a2,a3,all]
|
||||||
|
movm [a2,a3,exreg0],(sp)
|
||||||
|
movm [a2,a3,exreg1],(sp)
|
||||||
|
movm [a2,a3,exother],(sp)
|
||||||
|
movm [a2,a3,all],(sp)
|
||||||
|
movm (usp),[a2,a3,exreg0]
|
||||||
|
movm (usp),[a2,a3,exreg1]
|
||||||
|
movm (usp),[a2,a3,exother]
|
||||||
|
movm (usp),[a2,a3,all]
|
||||||
|
movm [a2,a3,exreg0],(usp)
|
||||||
|
movm [a2,a3,exreg1],(usp)
|
||||||
|
movm [a2,a3,exother],(usp)
|
||||||
|
movm [a2,a3,all],(usp)
|
||||||
|
mov usp,a0
|
||||||
|
mov ssp,a1
|
||||||
|
mov msp,a2
|
||||||
|
mov pc,a3
|
||||||
|
mov a0,usp
|
||||||
|
mov a1,ssp
|
||||||
|
mov a2,msp
|
||||||
|
syscall 0x4
|
||||||
|
mov epsw,d0
|
||||||
|
mov d1,epsw
|
||||||
|
mov a0,r1
|
||||||
|
mov d2,r3
|
||||||
|
mov r5,a1
|
||||||
|
mov r7,d3
|
||||||
|
mcst9 d0
|
||||||
|
mcst48 d1
|
||||||
|
getchx d0
|
||||||
|
getclx d1
|
||||||
|
and 131072,epsw
|
||||||
|
or 65535,epsw
|
@ -1,4 +1,5 @@
|
|||||||
.text
|
.text
|
||||||
|
.am33
|
||||||
add_add r4,r1,r2,r3
|
add_add r4,r1,r2,r3
|
||||||
add_add r4,r1,2,r3
|
add_add r4,r1,2,r3
|
||||||
add_sub r4,r1,r2,r3
|
add_sub r4,r1,r2,r3
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
.text
|
.text
|
||||||
|
.am33
|
||||||
cmp_add 4,r1,r2,r3
|
cmp_add 4,r1,r2,r3
|
||||||
cmp_add 4,r1,2,r3
|
cmp_add 4,r1,2,r3
|
||||||
cmp_sub 4,r1,r2,r3
|
cmp_sub 4,r1,r2,r3
|
||||||
|
Reference in New Issue
Block a user