Hello, is it possible to set the output radix of MPL of A166 from hex to decimal? Currently this code
%SET (VAL,10) val_text: db '%VAL' label%VAL:
val_text: db '0AH' label0AH:
val_text: db '10' label10:
What happens if you try...
%SET (VAL,0AH)
It doesn't matter if I write
%SET (VAL,10)
How about...
%SET (VAL,'0AH')
Hello Jon, this is a syntax error. SET requires a numeric value, no string expression. I can use the MPL define as in
%DEFINE (VAL) (10) Label%VAL:
View all questions in Keil forum