• Assembler Directive for Segment Length used
    Hi Is there a Assembler directive to calculate or indicate the used space in a Segment? I want to clear a portion of RAM which contains x amount of variables. I know that I can read the length...
  • The length of struct
    Hi, I define a struct like below: typedef struct { unsigned type :6; unsigned delete :1; unsigned mask :1; }UnitType; I think the length of this struct is 1 byte, but to my surprise,...
  • LX51, ?STACK Segment Placement Oddities
    I want to fix two variables at the top of IDATA using the _at_ keyword, a 1 byte variable at 0xFD and a 2 byte variable at 0xFE (both variables are in two separate C modules, so two segments are created...
  • About the start address and length of "_DATA_GROUP_"
    Now, I want to know the start address and length of "_DATA_GROUP_", How can I do it, thanks.
  • Run length encoding
    Hi, I've been recently playing around with file compression and encryption. Ikakjha js azY.