Hi,
I'm just starting out with PIC and am reading a couple of books.
Just one thing that I've been searching around to try and find an answer for and can't - wondered if anyone could help?
OK so normally with hexadecimal I'd just write F0 to represent 11110000.
So why in the instruction
is the 0x bit in there if I wanted to move the number F0 into the working register.
Also why do the books supersede the F0 with an 'h' to make F0h?
Sorry for probably being a noob but these are issues I'd really like to sort out early on.
Thanks very much,
Froskoy.
I'm just starting out with PIC and am reading a couple of books.
Just one thing that I've been searching around to try and find an answer for and can't - wondered if anyone could help?
OK so normally with hexadecimal I'd just write F0 to represent 11110000.
So why in the instruction
Code:
movlw 0xF0
Also why do the books supersede the F0 with an 'h' to make F0h?
Sorry for probably being a noob but these are issues I'd really like to sort out early on.
Thanks very much,
Froskoy.