flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
PuyaPuya
probly the easiest way to write an assembler is to go into dos debug mode and just use each assembler statement and look at what bytes are output and what order they are output in. usually the first byte is the instruction and the following bytes are the arguments. (note: some statements like mov have multiple instructions depending upon the arguments)
|
|||
![]() |
|
vid
i think he was asking about design of compiler, not assembling instructions themself.
IMO it's matter of taste, and if you would want to copy some existing, than i don't see the point to do it, YOU must think of your design and myabe you will create something new. anyway, you can for example look at FASM design, look for "fasm internals"... |
|||
![]() |
|
TmX
Might find this useful:
http://webster.cs.ucr.edu/AsmTools/RollYourOwn/index.html |
|||
![]() |
|
rugxulo
This is not specifically asm-related, but it may help:
http://compilers.iecc.com/crenshaw/ Quote:
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.