]>
Commit | Line | Data |
---|---|---|
ecbc0c55 DB |
1 | # fr30 testcase for add $u8 |
2 | # mach(): fr30 | |
3 | ||
4 | .include "testutils.inc" | |
5 | ||
6 | START | |
7 | ||
8 | .text | |
9 | .global add | |
10 | add: | |
11 | ; Test add $Rj,$Ri | |
12 | mvi_h_gr 1,r7 | |
13 | mvi_h_gr 2,r8 | |
14 | set_cc 0x0f ; Set mask opposite of expected | |
15 | add r7,r8 | |
16 | test_cc 0 0 0 0 | |
17 | test_h_gr 3,r8 | |
18 | ||
19 | ||
20 | pass |