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
You are trying to define a symbol (using EQU) created from low and high bytes of the address of a variable, but those addresses are resolved by linker - so that's why this syntax does not work... - Dejan