flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
PuyaPuya 30 Aug 2006, 00:13
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 30 Aug 2006, 05:21
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 30 Aug 2006, 07:48
Might find this useful:
http://webster.cs.ucr.edu/AsmTools/RollYourOwn/index.html |
|||
![]() |
|
rugxulo 01 Sep 2006, 02:15
This is not specifically asm-related, but it may help:
http://compilers.iecc.com/crenshaw/ Quote:
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.