PIC Micro: Get Serial Output from Byte Register

1 reply · 2K views · last reply
hisham.i
Messages
176
Reaction score
2
Hello...
If i have a byte in a register in a PIC micro controller, how can i write a subroutine using ASSEMBLY which allows me to get serial output from this register to the output port of the micro controller?
 
Please study the specification sheet for the PIC microcontroller you are using, particularly about the serial communication module if you are using it.
http://ww1.microchip.com/downloads/en/DeviceDoc/30292c.pdf

Microchip has hosted several application notes of their microcontrollers. There is plenty of literature for different types of serial communication. You can take a look at the them and modify your code accordingly. Check this link:
http://ww1.microchip.com/downloads/en/AppNotes/00510e.pdf