Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/07/00 03:15
Read: times


 
#3070 - RE: How to use Micro C Compiler?
Friend you have to write a simple C program
start with #include <reg51>
then #include<stdio.h>
void main()
{
here define the variables
eg accumilator ia called ACC and Breg is called B etc.
then set the scon, smod reg based on the requirement.
After u have done this
save your work oa a new project and compile the file using Build target function icon provided on the tool bar then go to dscope icon provided this takes you to the assembly code you observe the output as you go singlestep
F11 thats it


List of 2 messages in thread
TopicAuthorDate
How to use Micro C Compiler?            01/01/70 00:00      
RE: How to use Micro C Compiler?            01/01/70 00:00      

Back to Subject List