LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cvs-checkins > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: cvs at opencores.org<cvs@o...>
    Date: Sun May 28 23:59:08 CEST 2006
    Subject: [cvs-checkins] MODIFIED: t400 ...
    Top
    Date: 00/06/05 28:23:59

    Added: t400/sw/verif/int/jid int test.asm
    Log:
    initial check-in


    Revision Changes Path
    1.1 t400/sw/verif/int/jid/int

    http://www.opencores.org/cvsweb.shtml/t400/sw/verif/int/jid/int?rev=1.1&content-type=text/x-cvsweb-markup

    <<Binary file>>


    1.1 t400/sw/verif/int/jid/test.asm

    http://www.opencores.org/cvsweb.shtml/t400/sw/verif/int/jid/test.asm?rev=1.1&content-type=text/x-cvsweb-markup

    Index: test.asm
    ===================================================================
    ;; *******************************************************************
    ;; $Id: test.asm,v 1.1 2006/05/28 21:59:08 arniml Exp $
    ;;
    ;; Checks interrupt on JID.
    ;;

    ;; the cpu type is defined on asl's command line

    include "int_macros.inc"

    org 0x00
    clra

    int_flag_clear
    lei 0x02

    ;; prepare JID
    clra
    x 0
    clra
    aisc 0x4

    jp int_mark

    org 0x030
    int_mark:
    nop
    nop
    int_instr:
    jid


    ;; -------------------------------------------------------------------
    ;; JID table
    ;;
    org 0x040
    db 0x060


    org 0x05e
    jmp fail
    org 0x060
    nop
    ret_instr:
    int_flag_check
    jmp pass


    ;; *******************************************************************
    ;; Interrupt routine
    ;;
    org 0x0fd
    jmp fail
    int_routine:
    nop
    save_a_m_c
    int_flag_set
    check_sa ret_instr
    restore_c_m_a
    ret


    org 0x200
    include "int_pass_fail.asm"



     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.