OpenCores
URL https://opencores.org/ocsvn/t400/t400/trunk

Subversion Repositories t400

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 85 to Rev 86
    Reverse comparison

Rev 85 → Rev 86

/trunk/sw/verif/include/int_macros.inc
1,5 → 1,5
;; *******************************************************************
;; $Id: int_macros.inc,v 1.3 2006-05-28 13:35:23 arniml Exp $
;; $Id: int_macros.inc,v 1.4 2006-05-28 15:26:33 arniml Exp $
;;
;; Defines macros for interrupt tests.
;;
79,3 → 79,32
 
xad 3, 15 ; restore A
ENDM
 
 
;; -------------------------------------------------------------------
;; Flag that interrupt occured in M(3,12).1
;;
int_flag_set MACRO
clra
aisc 0x1
xad 3, 12
ENDM
 
;; -------------------------------------------------------------------
;; Clear 'interrupt occured' flag
;;
int_flag_clear MACRO
clra
xad 3, 12
ENDM
 
;; -------------------------------------------------------------------
;; Check interrupt occurence
;;
int_flag_check MACRO
lbi 3, 12
skmbz 0x0
jp +
jmp fail ; no interrupt!
+ lbi 0, 0
ENDM

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.