10 #ifdef __SDCC_pdk14 // Lack of memory
11 unsigned char buffer
[0x08];
13 unsigned char buffer
[0x18];
15 unsigned char OutPtr
, InPtr
;
19 DATA Fifo TxFifo
={"ABCD", 0, 0, 0}, RxFifo
={"FGHI", 0, 0, 0};
20 DATA
unsigned char dummy1
, dummy2
;
23 testPrePostIncrement(void)
25 dummy2
= TxFifo
.buffer
[++TxFifo
.OutPtr
];
26 dummy1
= RxFifo
.buffer
[RxFifo
.OutPtr
++];
28 ASSERT(dummy2
== 'B');
29 ASSERT(dummy1
== 'F');