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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/28/03 19:19
Read: times


 
#37568 - RE: 8051 interrupt pin / Erik.
Also it uses registers without switching banks.

displayISR: mov a,#0ffh
movx @dptr,a
mov r3,#0ffh
...

is hardly addressing r3 by its address


What is the difference between using R0-R7 in different banks by changing the current bank in the PSW and using all the 32 Registers using direct addressing ... I feel its only a matter of convenience when it comes to "how to address the first 32 registers".

If you look through the instruction set etc, you will se that most instructions are one byte and one cycle less for registers than for direct.

If you do not swictch stack/save registers, you lose the IDAT memory (080h-0ffh) which can only be address by @Ri

Erik




Erik

List of 5 messages in thread
TopicAuthorDate
8051 interrupt pin            01/01/70 00:00      
RE: 8051 interrupt pin            01/01/70 00:00      
RE: 8051 interrupt pin            01/01/70 00:00      
RE: 8051 interrupt pin / Erik.            01/01/70 00:00      
RE: 8051 interrupt pin / Erik.            01/01/70 00:00      

Back to Subject List