; RamTrap.mu
; Copyright Xerox Corporation 1979

;	Last modified October 11, 1977  11:26 AM

; 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     62000   62400
!37,40, TrapDispatch,,, GetFrame, Return, BcplUtility;


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