Comment 2 for bug 579325

Revision history for this message
Bug Importer (bug-importer) wrote :

Logged In: NO

Also, the current "load me at" textbox doesn't really have to occupy so much space, it could easily do with 1/4th of it.

The "ORG" directive is also generally considered to be among the most essential directives to be supported in assemblers:
http://www.retroarchive.org/cpm/cdrom/SIMTEL/SIGM/VOLS100/VOL173/8080.HLP

:Assembler Directives.

An assembler needs additional information, beyond labels and instructions. At
the least, an indication of where the program begins and ends is needed. Data
is part of most programs, both numerical and textual. There could be cosmetic
instructions: start on a new page or suppress part of the program listing.

The most essential directives are:

  org define initial program address
  end no more source code follows
  equ assign a value to a symbol
  db one or more bytes of ASCII text
  dc ASCII text terminated by a flagged byte
  ds reserve space, perhaps label first byte
  dw one or more addresses or two-byte data

Beyond bare essentials, assemblers can grow to have considerable complexity.
For example, "include" can incorporate supplementary files in the text, while
"link" can allow the program to be written on a series of independent files.
Conditional assemblies, macros, or conditional macros are other possibilities.