Click here to Skip to main content
15,886,026 members
Articles / Programming Languages / Assembler

How to Turn MacroAssembler into a High Level Language

Rate me:
Please Sign up or sign in to vote.
4.44/5 (6 votes)
9 Sep 2021CPOL5 min read 5.3K   5  
Macros to help assembler programmers to improve source code
The power of high level languages resides on the capability of writing human readable syntax that the compiler translates to machine code. All these high level languages, such as "C", VB, Python, ... include structured programming blocks. A structured programming block, is then, a block of instructions that are executed (or not) depending on conditions. MacroAssembler doesn't allow to program blocks such as "IF .. THEN .. ELSE", "WHILE .. WEND", "REPEAT .. UNTIL" or "FOR ..NEXT", but with the definition of macros for these keywords, we can mimic a high level language sintax.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Spain Spain
Analyst & Programmer of technical and industrial apps.

Comments and Discussions