• ERROR 172 - SEGMENT TOO BIG
    I am currently struggling through a "segment too big" problem when compiling a particular ".c" file. When I first received the error it reported an "Act=156, Max=128". I then moved all variable declarations...
  • PDATA Segment
    I am not sure, if I have understood the usage of the PDATA segment properly. When pdata is used (in the compact memory model), the variables in the external memory can be addressed with MOVX A,@Rx...
  • error C172: '?DT?main': segment too big
    I got this message "error C172: '?DT?main': segment too big (act=137, max=128)" when I build my program. I dont know what's the problem can you give me a solution? By the way how can I put code into...
  • Program too big to fit
    We have a embedded software project running on 80C51. We meet tight code size issue to fit in 64KB. We wants to use optimize option in C compiler. But when we add ot(6,size) in makefile, the DOS promopt...
  • ZI-data too big
    Hi, I have the following BIG structure: typedef struct { BYTE c_re[3]; int c_gnrl; float c_time[2]; BYTE c_cmm[13]; int c_cmm_p[2]; BYTE c_ext[10]; int c_ext_p[10]; int c_stp[50][3...