Entry | |
---|---|
R0 | New bits |
R1 | Mask |
Exit | |
---|---|
R0 | Old bits value |
R1 | Old mask value |
The purpose of this call is to read or write the contents of the MEMC control register.
This SWI programs individual bits in the MEMC control register, on machines still supporting Acorn’s custom chipsets. Since the MEMC is write-only, this is done via a software copy, maintained by the OS.
Reg = (RegCopy AND NOT R1) OR (R0 AND R1)
To read: R0,R1 = 0