IOWRITE_ A & IOREAD_A Macros

We have to use the macros IOWRITE_A & IOREAD_A on Dynamic C 10.70 for RCM5700. For example the piece of code where we use these macros are on lib HDLC_PACKET.LIB

[color=red]#asm xmem

HDLCcloseE::
ipset HDLC_INT_LEVEL
;clear out interrupt vector
ld a,0xc9 ; ret in first byte
ld (INTVEC_BASE+SERE_OFS),a
ld a,0x00 ; disable interrupts for port
ld (SECRShadow),a
IOWRITE_A(SECR)
ipres
lret

#endasm

but when we compile, can see the next error

Unexpected token in label: “IOWRITE_A >>> ( <<< 0xCC)”, excepted one of {‘:’}

Thanks for your support

BR
Jose Luis

HDLC_PACKET.LIB is slightly different in Dynamic C 10.72, I suggest you download our current release and let us know if you see any errors.