Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Help with Assembly


  • Please log in to reply

#1
in_texas_dallas

in_texas_dallas

    Member

  • Member
  • PipPip
  • 77 posts
I am looking to build my own ASM - Machine Language Assembler. I found all the mnemonics/opcodes.
There was something that I had a question about. I think they are called Directives, not sure though.

Basically, I need to know the beginning format of an executably program for DOS and WIN32 applications beginning with the very start of a program to when the code begins executing, main() basically

If somebody knows something, it would be greatly appreciated

NOTE: I have built a ASseMbler before on an old TRS-80 Z-80 computer, and I had the same problem, because I lacked the necessary documentation, I just sort of winged it.

Figured, that Windows won't let me just wing it.. lol.


PS: Steps to making an assembler

(1) Code Assembler in C++
(2) Used assembler coded in C++ to assemble Assembler in assembly
(3) if confused, you are not alone
  • 0

Advertisements


#2
in_texas_dallas

in_texas_dallas

    Member

  • Topic Starter
  • Member
  • PipPip
  • 77 posts
I am not sure exactly the kind of information goes here.. Just from viewing other ASM source code, I would imagine it would specify what platform it was written for as well as how much memory to reserve for the program and how big the program is\

E.g. ".i386" .. etc..

If anybody could post some good reference data with corresponding opcodes and hexadecimal numbers this would be appreciated
  • 0

#3
inoxx.net

inoxx.net

    Member

  • Member
  • PipPip
  • 16 posts
Are you just going to use the ASM code generated by the C++ compiler?
  • 0

#4
in_texas_dallas

in_texas_dallas

    Member

  • Topic Starter
  • Member
  • PipPip
  • 77 posts
I will make programs as well as libraries. IF that is what you meant.

Edited by in_texas_dallas, 03 August 2005 - 09:42 AM.

  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP