Beruflich Dokumente
Kultur Dokumente
Introduction
Assembly Language:
An assembly language is a low-level programming language for microprocessors and
other programmable devices. It is not just a single language, but rather a group of
languages. An assembly language implements a symbolic representation of the
machine code needed to program a given CPU architecture.
o Up to 10 MHz
o 1 MB RAM
o 40-pin DIP
8086 CPU has 8 general purpose registers; each register has its own name:
o DX:AX concatenated into 32-bit register for some MUL and DIV operations
o Specifying ports in some IN and OUT operations
BP - base pointer:
SP - stack pointer:
IP register always works together with CS segment register and it points to currently
executing instruction.
FLAGS REGISTER
Task 1
#MAKE_COM#
ORG 100h
MOV AL, A
MOV BX, B
RET; stops the program.
A DB 7
B DW 1234h