Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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

Part and Inventory Search

Blog entry information

Author
S.P.S
Read time
1 min read
Views
673
Comments
1
Last update

More entries in Uncategorized

More entries from S.P.S

Share this entry

Back
Top