Fundamente

Regiștri de uz general

Drawing

MEMORIE: Segment, offset, adresă liniară

Drawing

Adresare

Drawing

Tipuri de date

.model small
.stack 100h
.data  
    zecimal_const dw 64d
    binar_const dw 10000011b
    hex_const DW 1234h
    octal_const dw 170o
    alegere DB 3 DUP(?)
    mesaj DB 'Hello'
    vector db 5 dup(1,3,5,7)
.code
start: 
    mov ax, @data
    mov ds, ax  
    
    mov al, vector[0]
    mov bl, vector[1]
    mov cl, vector[2]
    mov dl, vector[3] 
    
    mov AL, 0005H
    MOV BL, 0002H
    
    ADD AL, BL  
    
    SUB AL, 3h  
    
    MOV AL, [2H]
    
    mov ax,4C00h
    int 21h
end start

Instrucțiuni

Drawing

Last updated