代码搜索结果
找到约 45,533 项符合
T 的代码
t-ld-st.s
.include "t-macros.i"
start
; Test ld and st
ld r4, @foo
check 1 r4 0xdead
ldi r4, #0x2152
st r4, @foo
ld r4, @foo
check 2 r4 0x2152
; Test ld2w and st2w
ldi r4, #0xdead
st r4, @foo
ld
t-mvtac.s
.include "t-macros.i"
start
ldi r8, 0xbeef
mvtaclo r8, a0
checkacc2 1 a0 0xff 0xffff 0xbeef
mvtacg r0, a0
checkacc2 2 a0 0x00 0xffff 0xbeef
ldi r8, 0xdead
mvtachi r8, a0
checkacc2 3 a0 0
t-trap.s
.include "t-macros.i"
start
exit47
t-mulxu.s
.include "t-macros.i"
start
;; clear FX
ldi r2, #0x8005
mvtc r2, cr0
loadacc2 a1 0x7f 0xffff 0xffff
ldi r8, 0xffff
ldi r9, 0x8001
test_mulxu1:
MULXU a1, r9, r8
checkacc2 1 a1 0x00 0x8000 0
t-ae-st-ip.s
.include "<mark>t</mark>-macros.i"
s<mark>t</mark>ar<mark>t</mark>
PSW_BI<mark>T</mark>S = 0
poin<mark>t</mark>_dmap_a<mark>t</mark>_imem
check_in<mark>t</mark>errup<mark>t</mark> (VEC_AE&DMAP_MASK)+DMAP_BASE PSW_BI<mark>T</mark>S <mark>t</mark>es<mark>t</mark>_s<mark>t</mark>
ldi r10,#0x4000
s<mark>t</mark> r8, @r10+
ldi r10,#0x4001
<mark>t</mark>es<mark>t</mark>_s<mark>t</mark>:
s<m ...
t-rac.s
.include "t-macros.i"
start
;; clear FX
loadpsw2 0x8004
loadacc2 a0 0x80 0x0000 0x0000
loadacc2 a1 0x00 0x0000 0x5000
load r10 0x0123
load r11 0x4567
test_rac1:
RAC r10, a0, #-2
checkpsw2 1
t-sadd.s
.include "t-macros.i"
start
PSW_BITS = PSW_FX|PSW_ST|PSW_SM
loadpsw2 PSW_BITS
;; Test normal sadd
loadacc2 a0 0x00 0x7fff 0xffff
loadacc2 a1 0xff 0x8000 0x0000
s
t-ae-st2w-d.s
.include "<mark>t</mark>-macros.i"
s<mark>t</mark>ar<mark>t</mark>
PSW_BI<mark>T</mark>S = 0
poin<mark>t</mark>_dmap_a<mark>t</mark>_imem
check_in<mark>t</mark>errup<mark>t</mark> (VEC_AE&DMAP_MASK)+DMAP_BASE PSW_BI<mark>T</mark>S <mark>t</mark>es<mark>t</mark>_s<mark>t</mark>2w
s<mark>t</mark>2w r8,@0x4000
<mark>t</mark>es<mark>t</mark>_s<mark>t</mark>2w:
s<mark>t</mark>2w r8,@0x4001
n ...
t-rep.s
.include "t-macros.i"
start
;; Check that the instruction @REP_E is executed when it
;; is reached using a branch instruction
ldi r2, 1
test_rep_1:
rep r2, end_rep_1
nop || nop
nop || no
t-msbu.s
.include "t-macros.i"
start
;; clear FX
ldi r2, #0x8005
mvtc r2, cr0
loadacc2 a1 0x7f 0xffff 0xffff
ldi r8, 0xffff
ldi r9, 0x8001
test_msbu1:
MSBU a1, r9, r8
checkacc2 1 a1 0X7F 0x7FFF 0x8