; d1RamTrap.mu
;	Last editted: March 8, 1979

; Trap handler and dispatcher for instructions that trap into
; the RAM.  In the following predefinition, the tags correspond
; to opcodes 60000, 60400, 61000, 61400, ... 77400.
; Note that opcodes 60000, 60400, 61000, 64400, 65000, 67000, and 77400
; cannot be used since control never gets to the RAM for these.

; 61400 GetFrame
; 62000 Return
; 62400 BcplUtility
; 63000 InitMc
; 63400 DStrobe
; 64000 RDMux
; 65400 MIRLoad

!37,40, TrapDispatch,,, GetFrame, Return, BcplUtility, InitMc, DStrobe,
	RDMux,,, MIRLoad;


; Control comes here with the instruction LCY 8 in XREG
TRAP1:	T←37;
	L←XREG AND T;
TrapDispatch:
	SINK←LREG, BUS, TASK;
	:TrapDispatch;