Back to Assembly lang. nameoperationoperand(s);comment. START: MOV CX , 5 ; যা ইচ্ছা লিখ! ‘ ; ’ দিও!. name operationoperand(s);comment. Okay letters, digits, ?, ., @, _, $, % Illegal names – If any blanks – aaa aaa If begin with a digit – 2asad
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
START:MOVCX, 5;যা ইচ্ছা লিখ! ‘;’ দিও!
Assembler translates these codes into Machine lang opcode.
MOV, ADD, SUB, …
PROC is used to create a procedure
NOP; no operands – does nothing
INCAX; 1 op. – adds 1 to contents of AX
1,23 – x
nameDBinitial value; -128 ~ 127; or 0-255
ALPHADB4 ; variable ALPHA=4
AADB? ; uninitialized byte
EktaArrayDB10H, 20H, 22H
; low Byte of WORD1 contains 34H
; high Byte of WORD1 contains 12H
;W1 = W1 + AX
;W1 – changes with added/sum value
;AX – unchanged
;Subtract DX from AX
;New value in AX – AX changes
; DX unchanged
; wrong as direct memory location
General Reg.Memory loc.
; replace the contents by it’s two’s complement
MOVAH, ‘A’ ; what is in AH?
; ‘A’ = 41H
MOVAX, ‘A’ ; what is in AX?
; AX = B – 2A