URL
https://opencores.org/ocsvn/t48/t48/trunk
Subversion Repositories t48
[/] [t48/] [tags/] [rel_1_3/] [sw/] [verif/] [black_box/] [ins/] [test.asm] - Rev 141
Go to most recent revision | Compare with Previous | Blame | View Log
;; *******************************************************************
;; $Id: test.asm,v 1.2 2004-10-25 19:33:13 arniml Exp $
;;
;; Test INS A, BUS.
;; *******************************************************************
INCLUDE "cpu.inc"
INCLUDE "pass_fail.inc"
ORG 0
;; Start of test
;; deselect external memory
mov r0, #0FFH
clr a
movx @r0, a
mov a, #055H
outl bus, a
clr a
ins a, bus
add a, #0ABH
jnz fail
mov a, #0AAH
outl bus, a
clr a
ins a, bus
add a, #056H
jnz fail
pass: PASS
fail: FAIL
Go to most recent revision | Compare with Previous | Blame | View Log