making assembly language more easier!

  • Author S.P.S
  • Create date
  • Updated
  • Blog entry read time 1 min read
hi friends,

programming of micro controller in assembly takes more time than it in c,but for the assembly lovers its easier to make the programming more friendly by means of the use of macros;

just see the example

in 8051 assembly programming when we are interfacing an LCD
it is necessary to keep the messages in ROM and access it via DPTR.
but the macro given here eliminates these hazard.
we just have to give the string in the defined syntax;

for example lcd_out<this is a ~ macro example>
the '~' key is used to specify newl ine.

try macros;View attachment 159735

Comments

Cookies are required to use this site. You must accept them to continue using the site. Learn more…