Category:Assembly: Difference between revisions

From Rosetta Code
Content added Content deleted
No edit summary
(removed Encyclopedia tag; "Programming Languages" is already on the list and no other language is directly in the encyclopedia cat)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{language}}{{assembler language}}
{{language}}{{assembler language}}
{{language programming paradigm|Imperative}}
{{language programming paradigm|Imperative}}
[[Category:Encyclopedia]]'''Assembly language''' (or just '''assembly'''; often abbreviated '''asm'''; sometimes called '''assembler''', although that more properly refers to the program that translates the assembly source into machine code) is a term used for a language which is as close to raw machine code as a language can get. Writing in assembly typically requires strict knowledge of the underlying hardware, which lends itself well to implementing [[wp:Firmware|firmware]] due to size and speed constraints.
'''Assembly language''' (or just '''assembly'''; often abbreviated '''asm'''; sometimes called '''assembler''', although that more properly refers to the program that translates the assembly source into machine code) is a term used for a language which is as close to raw machine code as a language can get. Writing in assembly typically requires strict knowledge of the underlying hardware, which lends itself well to implementing [[wp:Firmware|firmware]] due to size and speed constraints.


Assembly languages use textual "[[wp:Mnemonic|mnemonics]]" that correspond directly to machine instructions ([[wp:Opcodes|opcodes]]). Writing in assembly often gives direct control over the overall layout of the assembled program on disk and in memory. Available instructions and codes are specific to the architecture being programmed on (although there are assemblers which provide an abstracted, non-architecture-specific language; the most notable of which is the [[wp:GNU Assembler|GNU Assembler]]). Assembly programs are typically loaded directly into a computer's memory and run from there. A software [[wp:Emulator|emulator]] can be used for testing purposes, or in the absence of hardware.
Assembly languages use textual "[[wp:Mnemonic|mnemonics]]" that correspond directly to machine instructions ([[wp:Opcode|opcodes]]). Writing in assembly often gives direct control over the overall layout of the assembled program on disk and in memory. Available instructions and codes are specific to the architecture being programmed on (although there are assemblers which provide an abstracted, non-architecture-specific language; the most notable of which is the [[wp:GNU Assembler|GNU Assembler]]). Assembly programs are typically loaded directly into a computer's memory and run from there. A software [[wp:Emulator|emulator]] can be used for testing purposes, or in the absence of hardware.


High-level assemblers may include many useful abstractions such as:
High-level assemblers may include many useful abstractions such as:

Latest revision as of 05:57, 11 February 2016

Language
Assembly
This programming language may be used to instruct a computer to perform a task.
See Also:


Listed below are all of the tasks on Rosetta Code which have been solved using Assembly.

Assembly language (or just assembly; often abbreviated asm; sometimes called assembler, although that more properly refers to the program that translates the assembly source into machine code) is a term used for a language which is as close to raw machine code as a language can get. Writing in assembly typically requires strict knowledge of the underlying hardware, which lends itself well to implementing firmware due to size and speed constraints.

Assembly languages use textual "mnemonics" that correspond directly to machine instructions (opcodes). Writing in assembly often gives direct control over the overall layout of the assembled program on disk and in memory. Available instructions and codes are specific to the architecture being programmed on (although there are assemblers which provide an abstracted, non-architecture-specific language; the most notable of which is the GNU Assembler). Assembly programs are typically loaded directly into a computer's memory and run from there. A software emulator can be used for testing purposes, or in the absence of hardware.

High-level assemblers may include many useful abstractions such as:

  • macros - inline functions which expand to multiple instructions
  • generic instructions that match the most appropriate instruction
  • optimisations such as rearranging code
  • OOP paradigms such as classes and objects

See also

Subcategories

This category has the following 28 subcategories, out of 28 total.

3

6

8

A

F

H

  • HLA(3 C, 1 P)

L

M

P

R

S

X

Z

Pages in category "Assembly"

The following 3 pages are in this category, out of 3 total.