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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/08/01 22:34
Read: times


 
#15550 - RE: Program Structure
1) The IF in assembler is handled by the conditional jumps. JB/JNB for bit checks, JZ, JB acc.7, for arithmetic. Alsu read up on the interesting feature of the CY when executing CJNE.

2) repeat until will be either one of the above or DJNZ

A simple way would be to write some small samples in C and run them through e.g. the free Keil demo C compiler and have a look at the (less than efficient) assembler code generated.

Have fun

Erik

List of 4 messages in thread
TopicAuthorDate
Program Structure            01/01/70 00:00      
RE: Program Structure            01/01/70 00:00      
RE: Program Structure PS            01/01/70 00:00      
RE: Program Structure            01/01/70 00:00      

Back to Subject List