URL
https://opencores.org/ocsvn/t48/t48/trunk
Subversion Repositories t48
Compare Revisions
- This comparison shows the changes necessary to convert path
/t48/tags/rel_1_1/sw/verif/white_box/pc_wrap_bit11
- from Rev 289 to Rev 292
- ↔ Reverse comparison
Rev 289 → Rev 292
/test.asm
0,0 → 1,45
;; ******************************************************************* |
;; $Id: test.asm,v 1.1 2005-06-08 19:05:39 arniml Exp $ |
;; |
;; Test wrap-around of Program Counter on bits 10 - 0. |
;; ******************************************************************* |
|
INCLUDE "cpu.inc" |
INCLUDE "pass_fail.inc" |
|
ORG 0 |
|
;; Start of test |
|
;; decide whether this is the first time that the test |
;; executes from address 0 |
in a, P1 |
jnz first_time |
|
;; came here for the second time |
;; -> that's great! |
jmp pass |
|
first_time: |
clr a |
outl P1, a ; tag P1 -> lock this path |
;; jump to external Program Memory |
jmp end_of_first_2k |
|
pass: PASS |
|
fail: FAIL |
|
|
;; end of first 2k program memory |
ORG 07FEH |
end_of_first_2k: |
nop |
nop |
;; no wrap-around to address 0 |
|
|
ORG 0800H |
|
jmp fail |
|