NASM - instrukcje
Przenoszenie danych

 
Name     Comment                      Syntax
MOV    Move (copy)                    MOV Dest,Source
XCHG   Exchange                       XCHG Op1,Op2
 
Zmiany flag procesora
 
STC    Set Carry                      STC
CLC    Clear Carry                    CLC
CMC    Complement Carry               CMC
STD    Set Direction                  STD
CLD    Clear Direction                CLD
STI    Set Interrupt                  STI
CLI    Clear Interrupt                CLI
 
Konwersje (rozszerza bitem znaku)
 
CBW    Sign-extend  AL into AX        CBW  
CWD    Sign-extend  AX into DX:AX     CWD
CDQ    Sign-extend EAX into EDX:EAX   CDQ
CWDE   Sign-extend  AX into EAX       CWDE
CQO    Sign-extend RAX into RDX:RAX   CQO  (tylko 64bit) 
 
Operacje na portach 
 
IN     Input                      IN Dest, Port
OUT    Output                     OUT Port, Source


Tomasz Kapela, Kraków 2011-2020