URL
https://opencores.org/ocsvn/t48/t48/trunk
Subversion Repositories t48
[/] [t48/] [tags/] [rel_1_0/] [sw/] [verif/] [black_box/] [mb/] [int/] [test.asm] - Rev 118
Go to most recent revision | Compare with Previous | Blame | View Log
;; *******************************************************************
;; $Id: test.asm,v 1.3 2004-06-30 21:15:31 arniml Exp $
;;
;; Test Program Memory bank selector with interrupts.
;; *******************************************************************
INCLUDE "cpu.inc"
INCLUDE "pass_fail.inc"
ORG 0
jmp start
ORG 3
jmp interrupt & 07FFH
ORG 7
jmp fail
;; Start of test
start:
sel mb1
mov r0, #000H
en i
poll: jf1 pass
djnz r0, poll
jmp fail
pass: PASS
fail: FAIL
ORG 0232H
jmp fail
interrupt:
call trick_mb
cpl f1
retr
ORG 0250H
trick_mb:
ret
ORG 0A32H
jmp fail_hi
jmp fail_hi
jmp fail_hi
ORG 0A50H
jmp fail_hi
fail_hi:
FAIL
Go to most recent revision | Compare with Previous | Blame | View Log