Hi,
I would like to have a fixed structure (at end of HET RAM) for status exchange between the HET program and the CPU software. Is there a way to use the SPC in a .space directive, like in:
; ... (my HET program)
; fails with E0200: Operation cannot be performed on given operands
.space HET_RAM_SIZE - MYSTRUCT_SIZE - $
; also fails with E0200: Operation cannot be performed on given operands
here .space HET_RAM_SIZE - MYSTRUCT_SIZE - here
MyStruct:
; ... ( some HET instructions whose data fields are accessed from CPU software)
Or should I rather put this structure at beginning of HET RAM (past an initial branch instruction)?
Oh, by the way, what is the unit of the SPC : bytes, words or HET instructions?
Thanks and Best Regards,
Daniel Marmier