Hey guys, I'm using a pic16F690 and I need assembly code for to convert an 8 bit binary to bcd and bcd to binary. I have to use the w register. Also, I only want to display numbers from 0 - 99, how do I write a default or error message in mplab? Thanks for the help
The project requires the production of two conversion modules to convert either way between 8 bit Binary Code and BCD code.
The two modules will be implemented as assembly code functions that receive the input value in the W register and exits with the result in the same W register.
The main emphasis here is to get MPLAB X configured and running on your workstations and to get to understand the PIC instruction set. You can find datasheets on the course website or online.
Also important however is that you decide on a decent code template and use it for both routines. You must also pay very close attention to comments and code development.
Hey guys, I'm using a pic16F690 and I need assembly code for to convert an 8 bit binary to bcd and bcd to binary. I have to use the w register. Also, I only want to display numbers from 0 - 99, how do I write a default or error message in mplab? Thanks for the help
Hey guys, I'm using a pic16F690 and I need assembly code for to convert an 8 bit binary to bcd and bcd to binary. I have to use the w register. Also, I only want to display numbers from 0 - 99, how do I write a default or error message in mplab? Thanks for the help