Commit | Line | Data |
---|---|---|
7499d566 NC |
1 | ;# logical.s |
2 | ;# Verifies all the logical operation in the file | |
3 | ||
4 | .text | |
5 | foo: | |
6 | MOVE AP, #00h ;Set AC[0] as the active accumulator | |
7 | AND #FFh ;AND AC[0] with 0xFF | |
8 | OR #F0h | |
9 | XOR #FEh | |
10 | CPL | |
11 | NEG | |
12 | SLA | |
13 | SLA2 | |
14 | SLA4 | |
15 | RL | |
16 | RLC | |
17 | SRA | |
18 | SRA2 | |
19 | SRA4 | |
20 | SR | |
21 | RR | |
22 | RRC |