Hi Everyone, I am trying to get the following to assemble, but the assembler gives me error A20:-
defins_XSEG segment xdata rseg defins_XSEG rx_buff: ds 200h tx_buff: ds 200h rx_msb EQU HIGH rx_buff rx_lsb EQU LOW rx_buff tx_msb EQU HIGH tx_buff tx_lsb EQU LOW tx_buff
hi, the solution may be obtained with little trick - the usage of C directive #define:
#define rx_msb HIGH(rx_buff) #define rx_lsb LOW(rx_buff) #define tx_msb HIGH(tx_buff) #define tx_lsb LOW(tx_buff)