[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- To: info-mcl@cambridge.apple.com
- From: kevin@freya.cs.umass.edu
- Date: Tue, 27 Sep 1994 18:25:54 -0400
- Reply-to: gallagher@cs.umass.edu
MCL developers:
I'm trying to write a register based callback routine using defpascal.
(in this case the completion routine for #_ADBOp). The defpascal
documentation describes a syntax for getting the registers passed in
to the routine in a single record. What is the record type of this
record?
The following illustrates what I want to do. A2 will contain a
pointer to a word. I simply want to set the value of that word.
(defpascal callback-routine (:reg registers)
(setf (%get-word (pref registers :regbuf.ra2)) 1))
Thanks for your help.
Kevin Gallagher