diff options
author | DJ Delorie <dj@redhat.com> | 2006-03-14 04:20:53 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2006-03-14 04:20:53 +0000 |
commit | 43aa3bb1d43045f9a60a2a91be8766582a4aab42 (patch) | |
tree | d8eebe37788ebc435b3a8451e94398c6d9d37a32 /cpu/m32c.cpu | |
parent | 727b6b4b411c55d0d6719556bcf6a5da5c54adb6 (diff) | |
download | gdb-43aa3bb1d43045f9a60a2a91be8766582a4aab42.zip gdb-43aa3bb1d43045f9a60a2a91be8766582a4aab42.tar.gz gdb-43aa3bb1d43045f9a60a2a91be8766582a4aab42.tar.bz2 |
* m32c.cpu (Bit3-S): New.
(btst:s): New.
* m32c.opc (parse_bit3_S): New.
Diffstat (limited to 'cpu/m32c.cpu')
-rw-r--r-- | cpu/m32c.cpu | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cpu/m32c.cpu b/cpu/m32c.cpu index 538d25c..a645a48 100644 --- a/cpu/m32c.cpu +++ b/cpu/m32c.cpu @@ -2026,6 +2026,10 @@ h-sint DFLT f-imm3-S ((parse "imm3_S")) () () ) +(define-full-operand Bit3-S "3 bit bit number" (m32c-isa) + h-sint DFLT f-imm3-S + ((parse "bit3_S")) () () +) ;------------------------------------------------------------- ; Bit numbers @@ -7568,7 +7572,10 @@ (+ (f-0-4 #xD) bit32-16-Unprefixed (f-7-1 #x0) (f-10-3 #x0)) btst-sem) -; fixme: add btst.s +(dni btst.s "btst:s" ((machine 32)) + "btst:s ${Bit3-S},${Dsp-8-u16}" + (+ (f-0-2 #x0) (f-4-3 #x5) Bit3-S Dsp-8-u16) + () ()) ;------------------------------------------------------------- ; btstc |