Jump to content

Assembly language: Difference between revisions

From EDM2
Ak120 (talk | contribs)
Ak120 (talk | contribs)
Line 1: Line 1:
Assembly language is not a proper "programming language" per se, but rather a tool that allows you to write machine code using short, semi-human readable memenomic instructions and link the into an executable, as an alternative to having to write streams of ones and zeroes and load them into memory. This effectively means that not only do each microprocessor family have their own assembly language format and instructions but also each processor version inside that family has its own instruction variations, but in addition to that different assemblers may use different mnemonic substitutes for each processor instruction.
Assembly language is not a proper "programming language" per se, but rather a tool that allows you to write machine code using short, semi-human readable memenomic instructions and link the into an executable, as an alternative to having to write streams of ones and zeroes and load them into memory. This effectively means that not only do each microprocessor family have their own assembly language format and instructions but also each processor version inside that family has its own instruction variations, but in addition to that different assemblers may use different mnemonic substitutes for each processor instruction.


==A list of OS/2 assemblers and assembler related tools==
==OS/2 assemblers and assembler related tools==
* [[CC65]] - Contains a 6502 cross assembler - Open source - Current.
* [[GNU Assembler]] - Open source - Discontinued
* [[GNU Assembler]] - Open source - Discontinued
* [[IBM ALP Assembler]] - Commercial - Discontinued
* [[IBM ALP Assembler]] - Commercial - Discontinued
Line 12: Line 11:
* [[Turbo Assembler]] - Commercial - Discontinued
* [[Turbo Assembler]] - Commercial - Discontinued
* [[Open Watcom|Wasm]] - Open Source - Current
* [[Open Watcom|Wasm]] - Open Source - Current
* [[8085 Cross Assembler]] - Open source - Discontinued.


====OS/2 disassemblers====
===Cross Assemblers===
* [[8085 Cross Assembler]] - Open source - Discontinued
* [[CC65]] - Contains a 6502 cross assembler - Open source - Current
 
===OS/2 disassemblers===
*AVR Disassembler - AVR - Open Source - Current
*AVR Disassembler - AVR - Open Source - Current
*BeaEngine - i86/AMD64 - Open Source - Current
*BeaEngine - i86/AMD64 - Open Source - Current
Line 21: Line 23:
*PIC Disassembler - PIC - Open Source - Current
*PIC Disassembler - PIC - Open Source - Current


==== OS/2 development systems with built in assemblers====
===OS/2 development systems with built in assemblers===
* [[Cabot UCSD Pascal]] - Commercial - Discontinued
* [[Cabot UCSD Pascal]] - Commercial - Discontinued
* [[Open Watcom]] - Open Source - Current
* [[Open Watcom]] - Open Source - Current
* [[Pecan UCSD Pascal]] - Commercial - Discontinued
* [[Pecan UCSD Pascal]] - Commercial - Discontinued
====Aids====
 
===Aids===
* [[FWKTL]] - Allows OS/2 to run COM like self modifying code
* [[FWKTL]] - Allows OS/2 to run COM like self modifying code


====Libraries, bindings and stubs====
===Libraries, bindings and stubs===
* [[LZ4]] - Compression library - Open source - Current
* [[LZ4]] - Compression library - Open source - Current


====OS/2 text & programmers editors with assembly language support====
===OS/2 text & programmers editors with assembly language support===
* [[Boxer]] - x86 and AT&T DSP32SL (Included by default) - Microchip 16C715, Mitsubishi 37451, PL/M-51 and 8051 (Contributed, requires download) - Commercial - Discontinued.
* [[Boxer]] - x86 and AT&T DSP32SL (Included by default) - Microchip 16C715, Mitsubishi 37451, PL/M-51 and 8051 (Contributed, requires download) - Commercial - Discontinued.
* [[Enhanced Editor]] - Has automatic "tagging", generates automatic code summaries with links and other ASM goodies.
* [[Enhanced Editor]] - Has automatic "tagging", generates automatic code summaries with links and other ASM goodies.
Line 38: Line 41:
* [[Lugaru Epsilon]] - i86 syntax highlighting, code folding and syntax-aware autoindent, 68HC12 available as a seperate download. - Commercial.
* [[Lugaru Epsilon]] - i86 syntax highlighting, code folding and syntax-aware autoindent, 68HC12 available as a seperate download. - Commercial.


====Assembly language related programmer's utilities====
===Assembly language related programmer's utilities===
* [[Exuberant ctags]] - Creates index files out of assembly language source files - Open source - Current.
* [[Exuberant ctags]] - Creates index files out of assembly language source files - Open source - Current.



Revision as of 19:06, 29 January 2017

Assembly language is not a proper "programming language" per se, but rather a tool that allows you to write machine code using short, semi-human readable memenomic instructions and link the into an executable, as an alternative to having to write streams of ones and zeroes and load them into memory. This effectively means that not only do each microprocessor family have their own assembly language format and instructions but also each processor version inside that family has its own instruction variations, but in addition to that different assemblers may use different mnemonic substitutes for each processor instruction.

OS/2 assemblers and assembler related tools

Cross Assemblers

OS/2 disassemblers

  • AVR Disassembler - AVR - Open Source - Current
  • BeaEngine - i86/AMD64 - Open Source - Current
  • DISA - i86 - Freeware - Discontinued
  • IDA - i86/AMD64 - Shareware/Commercial - Discontinued
  • PIC Disassembler - PIC - Open Source - Current

OS/2 development systems with built in assemblers

Aids

  • FWKTL - Allows OS/2 to run COM like self modifying code

Libraries, bindings and stubs

  • LZ4 - Compression library - Open source - Current

OS/2 text & programmers editors with assembly language support

  • Boxer - x86 and AT&T DSP32SL (Included by default) - Microchip 16C715, Mitsubishi 37451, PL/M-51 and 8051 (Contributed, requires download) - Commercial - Discontinued.
  • Enhanced Editor - Has automatic "tagging", generates automatic code summaries with links and other ASM goodies.
  • FTE - Has support for syntax highlighting, code folding and syntax-aware autoindent.
  • jEdit - Java based editor - m68k, Macro32, MCS51, R2000, Parrot and x86 built in, 6502, AVR and PIC optional - Current.
  • Lugaru Epsilon - i86 syntax highlighting, code folding and syntax-aware autoindent, 68HC12 available as a seperate download. - Commercial.

Assembly language related programmer's utilities

  • Exuberant ctags - Creates index files out of assembly language source files - Open source - Current.

A list of DOS assemblers

DOS disassemblers

  • ASMGEN (Gersbach, Damke) - Public Domain
  • DASM (Williams)
  • DIS86 (van Zandt)
  • MD86
  • PICDIS-LITE - PIC - Shareware - Current
  • Yilmaz Disassembler

DOS development systems with built in assemblers

Libraries, bindings and stubs

  • LZ4 - Compression library - Open source - Current

DOS text & programmers editors with assembly language support

  • Boxer - x86 and AT&T DSP32SL (Included by default) - Microchip 16C715, Mitsubishi 37451, PL/M-51 and 8051 (Contributed, requires download) - Commercial - Discontinued.
  • FTE - Has support for syntax highlighting, code folding and syntax-aware autoindent.

Publications

  • Murray; Pappas: Assembly Language Programming under OS/2 – McGraw-Hill 1988, ISBN 0-07-881412-X
  • Leventhal: Assembly Language Programming under OS/2 – Bantam 1989, ISBN 0-553-34578-8
  • Holzner: OS/2 Assembly Language – Brady 1990, ISBN 0-13-642505-4

Local articles

Tutorials and other learning material

Links

  • Sandpile.org - Lots of info on i86 and AMD64 instructions.
  • The Art of Assembly Language Programming - An often referenced 80x86 Asm on-line tutorial and reference, note though that the examples are in a HLA format, a specific type of assembly not available for an OS/2 toolset.

Mailing lists & forums

  • Assembly Language Programming - On Yahoo groups - very low volume list but with a large group of subscribers so it can kick into life unexpectedly.

USENET

Standards

Unlike most other languages the assembly language is not an artificial language that requires standardisation but rather an implementation of a practical reality that came into existence when a specific CPU was designed and manufactured, so the standard is the actual documentation of a hardware implementation. That means for 8, 16 and 32 bit processors the "standard" are the processor and programming manuals from Intel while for 64 bit assembly language you need to look towards similar manuals from AMD.