URL
https://opencores.org/ocsvn/t48/t48/trunk
Subversion Repositories t48
[/] [t48/] [tags/] [rel_0_3_beta/] [sw/] [verif/] [black_box/] [inc/] [a/] [test.asm] - Rev 292
Compare with Previous | Blame | View Log
;; *******************************************************************
;; $Id: test.asm,v 1.1.1.1 2004-03-25 22:29:16 arniml Exp $
;;
;; Test INC A.
;; *******************************************************************
INCLUDE "cpu.inc"
INCLUDE "pass_fail.inc"
ORG 0
;; Start of test
mov a, #000H
inc a
add a, #0FFH
jnz fail
inc a
jb0 ok_0
jmp fail
ok_0: mov a, #0FFH
inc a
jnz fail
mov a, #010100101B
inc a
add a, #001011001B
inc a
jnz fail
pass: PASS
fail: FAIL