This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Question with bdata declaration

DATA 0020H 000BH BIT_ADDR ?BA?XXACT_H
BIT 002BH.0 0000H.1 UNIT _BIT_GROUP_ 002BH.1 0000H.7 *** GAP ***
IDATA 002CH 000FH UNIT ?ID?XXACT_H 003BH 002DH *** GAP ***

So from what i know Bdata start from 20H and have 16byte of space.
I only used 8 bytes in my program
however when I want to declare a new bdata

unsigned char bdata test;


the address space overflows.

Checkign the M51 file, it appears that the IDATA is taking up the bdata space??? Is it? Why? How to solve this problem?

Parents Reply Children