I am working on STM8S microcontroller, and I need to reserve absolute data locations for my variables via using assembly.
So, I try to "LD" instructions but I couldn't.
In PIC assembly I have a part of code like this:
ORG 0X40 ; origin set
cnt RES 1 ; 1 byte reserve at 0x040 address
cnt1 RES 1 ; 1 byte reserve at 0x041 address
test RES 2 ; 2 byte reserve at 0x042 address
test1 RES 1 ; 1 byte reserve at 0x044 address
This is what I need and I want to do it in STM8S Assembly literally.