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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/27/05 22:42
Read: times


 
#100198 - the using directive
Responding to: ???'s previous message
"using" is an assembler directive and generates no code.

"using 1" followed by any occurence of AR0 ... AR7 tell the assembler, that these terms should be translated to the direct addresses 008h ... 00Fh, thats all.
And without using the terms AR0 ... AR7, never a "using" directive must be placed.

Its also your task to manipulate PSW in such a way, that the right register bank was selected.

Using other register banks as bank 0 need always to change PSW on certain places, but not necessarily the "using" directive.


Peter


List of 14 messages in thread
TopicAuthorDate
8051 m5450 code?            01/01/70 00:00      
   Re:            01/01/70 00:00      
   it would be helpful if you provided a fu            01/01/70 00:00      
      datasheet            01/01/70 00:00      
         I would be very weary of using this chip            01/01/70 00:00      
            m5450 code.            01/01/70 00:00      
               you will not get far with "believe", wha            01/01/70 00:00      
                  believe            01/01/70 00:00      
                  Can you review this?            01/01/70 00:00      
                     I'm using Bank 1            01/01/70 00:00      
                        Listing            01/01/70 00:00      
                           the using directive            01/01/70 00:00      
                              Bank 1            01/01/70 00:00      
                        Bank 1            01/01/70 00:00      

Back to Subject List