Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.
8051 assembly
Name: Riaz Date: March 21, 2005 at 21:43:07 Pacific OS: 8051 microcontroller CPU/Ram: 8051 microcontroller
Comment:
I want to implement " if greater than number then goto " in 8051 assembly. can any one help me. Riaz
Name: yuv Date: March 22, 2005 at 00:45:34 Pacific
Reply:
r u finding something like this...
http://www.mcselec.com/an_22.htm
---- yuv
0
Response Number 2
Name: elric Date: March 24, 2005 at 05:09:26 Pacific
Reply:
G'day, This may not be the best forum for 8051 assembler help. Try a site such as 8052.com; they are using it all the time. However, to answer your question: you would need to use a conditional jump instruction, the format of which depends on where the compared bytes are. For instance, the CJNE mnenomic has 4 forms depending on where the bytes are placed. It compares the two bytes and jumps to a new address relative to the programme counter. It then clears the carry flag if one is greater than the other. Your routine would then have to test this bit and then implement an absolute jump. Hope that helps. Elric
Summary: Look up "8051 assembler emulator download free" on the net. I got 986 hits. The main thing about 8051 is that you must be very clear as to which register set you are currently programming. It is ver...
Summary: I am looking for visual basic PC code and for 8051 assembler microcontroller code to facilitate rs232 serial communication to and from PC and 8051 8 bit micro controller with built in serial port (ds...
Summary: G'day, You require an 8051 assembler, that will produce either hex, intel or motorola formatted binary files. Then you will require some sort of eprom programmer. A good place to look around (and ask ...