01.06.2013 Views

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Comments<br />

8 Bit data in ax, ax = (databus & wAND) ^ wXOR<br />

& = bit wise AND<br />

^ = bit wise XOR<br />

The result is combined with wAND and wXOR parameters. To read the data bus without change, set<br />

wAND=0xFFFF and wXOR=0x0000.<br />

Related Topics<br />

Top of list<br />

Index page<br />

Block Read Data Bus<br />

Write Data Bus<br />

Interrupt 0xA1 service 0x81: HAL: Write Data Bus<br />

Parameters<br />

AH<br />

DI<br />

DL<br />

BX<br />

CX<br />

Write to specified address.<br />

Must be 0x81.<br />

Address<br />

8 bit data<br />

wAND<br />

wXOR<br />

Return Value<br />

none<br />

Comments<br />

& = bit wise AND<br />

^ = bit wise XOR<br />

The provided parameters are combined as follows to form the output byte value:<br />

output value = (data & wAND) ^ wXOR<br />

To write the value in DL to the address without modification, set wAND=0xFFFF and wXOR=0x0000.<br />

Page 293 / 400

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!