Changeset 8325447 in buchla-68k for iolib/rtraps.s
- Timestamp:
- 08/07/2017 02:04:35 PM (7 years ago)
- Branches:
- master
- Children:
- 27c8d40
- Parents:
- 84c0125
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
iolib/rtraps.s
r84c0125 r8325447 5 5 .text 6 6 7 .xdef _trap157 .xdef trap15 8 8 9 .xref _rompbp9 .xref rompbp 10 10 11 11 .xref tr1sav,tr13sav,tr14sav … … 24 24 IPL7 = 0x0700 | IPL 7 25 25 26 | _trap15 -- ROMP debug trap (used to implement breakpoints)27 | ------ -------------------------------------------------28 _trap15:ori.w #IPL7,sr | Disable interrupts26 | trap15 -- ROMP debug trap (used to implement breakpoints) 27 | ------ ------------------------------------------------ 28 trap15: ori.w #IPL7,sr | Disable interrupts 29 29 move.w #0,-(a7) | Keep stack long aligned 30 30 movem.l d0-d7/a0-a7,-(a7) | Save regs on stack … … 36 36 ori.w #IPLEVEL,d0 | ... 37 37 move.w d0,sr | ... 38 jsr _rompbp | Pass control to ROMP38 jsr rompbp | Pass control to ROMP 39 39 40 40 ori.w #IPL7,sr | Disable interrupts
Note:
See TracChangeset
for help on using the changeset viewer.