Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
CODE SEGMENT
; Set DS register
MOV AX, DATA ; boiler plate code to set the DS register so that the
MOV DS, AX ; program can access the data segment.
; read first digit from keyboard
MOV AH, 08
INT 21H
MOV BL, AL
SUB BL, '0'
MUL BL, 10H
; read second digit from keyboard
MOV AH, 08H
MOV DL, AL
SUB DL, '0'
; DL = 9 AND BL = 30
SUM BL, DL
; Now BL store 39
CODE ENDS.
Note: Boilerplate code is the code which is present less or more in the similar form in each assembly language program.
What are the advantages of code optimization? Code optimization tends at enhancing the execution efficiency of a program. It is achieved in two manners. Redundancies in a progr
Q. Returns and Procedures definitions in 8086? 8086 microprocessor supports RET and CALL instructions for procedure call. CALL instruction not only branches to indicate address
Assignment: write a C program and a MASM procedure. The C program calls the MASM procedure to perform letter case conversion. Text sections covered: 12.1 to 12.3.1 Write a
Call by value and Call by reference Call by value means sending the values of the arguments- The value of each of the original arguments in the calling function is copied in
Syntax and Semanticsx and Semantics for First-order logic - artificial intelligence: Propositional logic is limited in its expressiveness: it may just represent true and false
To avoid race condition, the maximum number of processes that may be simultaneously inside the critical section is The maximum number of processes is one to ignore race conditi
The variable that are declared outside all the functions are called The variables that are declared outside every functions are known as global variable.
Explain Classless Inter-Domain Routing. It is a new addressing scheme for the internet that permits for more efficient allocation of IP addresses than old class A, B and C addr
What is Tri-state logic ? Ans. Tri-state Logic: In common logic circuits, there are two states of the output, as LOW and HIGH. If the output is not in the LOW state, this
calculate the number of states per unit volume in an energy interval of 0.01eV above the Fermi energy of Na metal. The Fermi energy of Na at 0 K=3eV.
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd