URL
https://opencores.org/ocsvn/t400/t400/trunk
[/] [t400/] [trunk/] [sw/] [verif/] [include/] [int_pass_fail.asm] - Diff between revs 176 and 179
Only display areas with differences |
Details |
Blame |
View Log
Rev 176 |
Rev 179 |
;; *******************************************************************
|
;; *******************************************************************
|
;; $Id: int_pass_fail.asm,v 1.1 2006-05-27 19:06:37 arniml Exp $
|
;; $Id: int_pass_fail.asm 179 2009-04-01 19:48:38Z arniml $
|
;;
|
;;
|
;; Provides pass/fail signalling via port D for interrupt tests.
|
;; Provides pass/fail signalling via port D for interrupt tests.
|
;;
|
;;
|
;; Signalling on D:
|
;; Signalling on D:
|
;; 0x1
|
;; 0x1
|
;; 0x2
|
;; 0x2
|
;; 0x4
|
;; 0x4
|
;; 0x8
|
;; 0x8
|
;; 0xf -> pass
|
;; 0xf -> pass
|
;; 0x0 -> fail
|
;; 0x0 -> fail
|
;;
|
;;
|
|
|
;; catch spurious code execution
|
;; catch spurious code execution
|
jmp fail
|
jmp fail
|
|
|
PROLOGUE MACRO
|
PROLOGUE MACRO
|
;; output 0x1 on D
|
;; output 0x1 on D
|
clra
|
clra
|
aisc 0x1
|
aisc 0x1
|
cab
|
cab
|
obd
|
obd
|
;; output 0x2 on D
|
;; output 0x2 on D
|
aisc 0x1
|
aisc 0x1
|
cab
|
cab
|
obd
|
obd
|
;; output 0x4 on D
|
;; output 0x4 on D
|
aisc 0x2
|
aisc 0x2
|
cab
|
cab
|
obd
|
obd
|
;; output 0x8 on D
|
;; output 0x8 on D
|
aisc 0x4
|
aisc 0x4
|
cab
|
cab
|
obd
|
obd
|
ENDM
|
ENDM
|
|
|
|
|
pass:
|
pass:
|
PROLOGUE
|
PROLOGUE
|
;; output 0xf to D
|
;; output 0xf to D
|
aisc 0x7
|
aisc 0x7
|
cab
|
cab
|
obd
|
obd
|
jp .
|
jp .
|
|
|
fail:
|
fail:
|
PROLOGUE
|
PROLOGUE
|
;; output 0x0 to D
|
;; output 0x0 to D
|
clra
|
clra
|
cab
|
cab
|
obd
|
obd
|
jp .
|
jp .
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.