URL
https://opencores.org/ocsvn/t48/t48/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 289 |
Rev 292 |
;; *******************************************************************
|
;; *******************************************************************
|
;; $Id: test.asm,v 1.1.1.1 2004-03-25 22:29:17 arniml Exp $
|
;; $Id: test.asm,v 1.1.1.1 2004-03-25 22:29:17 arniml Exp $
|
;;
|
;;
|
;; Test CPL A.
|
;; Test CPL A.
|
;; *******************************************************************
|
;; *******************************************************************
|
|
|
INCLUDE "cpu.inc"
|
INCLUDE "cpu.inc"
|
INCLUDE "pass_fail.inc"
|
INCLUDE "pass_fail.inc"
|
|
|
ORG 0
|
ORG 0
|
|
|
;; Start of test
|
;; Start of test
|
mov a, #0FFH
|
mov a, #0FFH
|
cpl a
|
cpl a
|
jnz fail
|
jnz fail
|
|
|
cpl a
|
cpl a
|
inc a
|
inc a
|
jnz fail
|
jnz fail
|
|
|
mov a, #055H
|
mov a, #055H
|
cpl a
|
cpl a
|
add a, #01010110B
|
add a, #01010110B
|
jnz fail
|
jnz fail
|
|
|
pass: PASS
|
pass: PASS
|
|
|
fail: FAIL
|
fail: FAIL
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.