17 lines
179 B
Plaintext
17 lines
179 B
Plaintext
|
# cr16 testcase for addb $sr, reg
|
||
|
# mach(): cr16
|
||
|
|
||
|
.include "testutils.inc"
|
||
|
|
||
|
start
|
||
|
|
||
|
.global add
|
||
|
add:
|
||
|
|
||
|
movb $0x1234,r4
|
||
|
movb $0x1234,r5
|
||
|
addb r4, r5
|
||
|
test_h_gr r5, 0x68
|
||
|
|
||
|
pass
|