URL
https://opencores.org/ocsvn/zipcpu/zipcpu/trunk
[/] [zipcpu/] [trunk/] [sw/] [zasm/] [test.S] - Diff between revs 143 and 165
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 143 |
Rev 165 |
Line 609... |
Line 609... |
tst sys.ccc,r14
|
tst sys.ccc,r14
|
bz test_failure
|
bz test_failure
|
asr 30,r0
|
asr 30,r0
|
tst sys.ccc,r14
|
tst sys.ccc,r14
|
bz test_failure
|
bz test_failure
|
|
ldi -1,r0
|
|
asr 1,r0
|
|
cmp -1,r0
|
|
bnz test_failure
|
|
|
// Let's test whether LSL works
|
// Let's test whether LSL works
|
ldi 0x035,r2
|
ldi 0x035,r2
|
lsl 8,r2
|
lsl 8,r2
|
ldi 0x03500,r1
|
ldi 0x03500,r1
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.