2020-01-06 01:29 AM
Map file:
BYTES ; The following addresses are 8 bits long
segment byte at 0-ff 'ram0'
WORDS ; The following addresses are 16 bits long
segment byte at 100-1ff 'ram1'
WORDS ; The following addresses are 16 bits long
segment byte at 200-3ff 'stack'
WORDS ; The following addresses are 16 bits long
segment byte at 4000-427F 'eeprom'
WORDS ; The following addresses are 16 bits long
segment byte at 8080-8FFF 'rom'
WORDS ; The following addresses are 16 bits long
segment byte at 8000-807F 'vectit'
Source file:
stm8/
#include "mapping.inc"
segment 'rom'
.main:
; sample code
CPL A
end