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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/27/09 12:40
Read: times


 
#170098 - Macros
Responding to: ???'s previous message
In general, macros are an assembler-provided feature that allow you to create your own commands. The way to define them varies from assembler to assembler. One macro might contain code to do a 16-bit addition, and another contain code to decrement the DPTR. They are used to make reading the code a little easier.

A macro can consist of more than one assembly command, and thereby can be deceiving to the unwary.

Again, the 8051 does NOT have any macros itself; it is a function of the assembler.

--Rich


List of 6 messages in thread
TopicAuthorDate
Macros            01/01/70 00:00      
   more information needed            01/01/70 00:00      
   Macros            01/01/70 00:00      
      Thanks for help.            01/01/70 00:00      
          Macros also in C            01/01/70 00:00      
            It's a general term            01/01/70 00:00      

Back to Subject List