Integer constants in PIC assembly: decimal and hexadecimal
I am doing programming on a microcontroller based on PIC (microchip). The PIC model I have used is PIC16.
I have a problem with data type classification
eg. MOVLW xxxx
where the xxxx
following: -
-
0x23
: hexadecimal -
23
: decimal -
D'20'
: hexadecimal -
1Bh
: hexadecimal -
b'00101100'
: binary
Why 1Bh
, D'20'
, 0x23
hex? Is there any other way to show hex in PIC assembly
source to share