??? 11/11/08 16:47 Read: times |
#159953 - ORL, Set any bit (more informative) Responding to: ???'s previous message |
Corectness:
iram in the lower address range 0x00-0x7F is RAM and can be accessed by direct or indirect method. addresses in upper range of 0x80-0xFF define the SFRs when are direct addressed. RAM locations at address range 0x80-0xFF can only be indirectly addressed. ORL iram addr,#data so by ORL you can SET any bit in RAM at 0x00-0x7F and SFRs at 0x80-0xFF. The ORL instruction cannot access by indirect method the upper RAM at 0x80-0xFF. "The '51 bible" from NXP displays all that more educational. K.L.Angelis |