AnsweredAssumed Answered

looking for memory model specific defines in assember  CW5.1

Question asked by Bertram Hock on Sep 11, 2017
Latest reply on Sep 13, 2017 by Bertram Hock

I am using CW5.1 for HCS12X MCU; IDE Version 5.9.0 (licensed).

I need to identify the selected memory model within my assembler code. (*.asm)

there are internal defines like "__BANKED__" oder "__LARGE__" available in compiler (*.c) files but I am not able to find anything comparable for the assembler in the documentation or help.

there must be something, as I use the  switch -Mb in the IDE.

Does anybody know, how to retrieve the information during assembly time?

Outcomes