Using emu8086  run this code and show working of each intruction in this code in detail

A Guide to SQL
9th Edition
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Philip J. Pratt
Chapter8: Sql Functions And Procedures
Section: Chapter Questions
Problem 6SCG
icon
Related questions
Question

Using emu8086  run this code and show working of each intruction in this code in detail

org 100h
.data
mov ah, 9
INT 21H
inMsg db "Enter a character ",'$'
newline db Odh,0ah,'$'
outMsg db "User enter character ",'$'
mov ax, @data
mov ds, ax
mov dx, offset outMsg
mov ah, 9
.code
main proc
INT 21H
mov ax, @data01
mov ds, ax
mov dx, offset inMsg
mov dl, bl
mov ah,2h
INT 21H
mov ah, 9
mov ax,4C00h
INT 21H
INT 21H
mov ah,1h
main endp
INT 21H
end main
mov bl, al
mov ax, @data01
mov ds, ax
mov dx, offset newline
Transcribed Image Text:org 100h .data mov ah, 9 INT 21H inMsg db "Enter a character ",'$' newline db Odh,0ah,'$' outMsg db "User enter character ",'$' mov ax, @data mov ds, ax mov dx, offset outMsg mov ah, 9 .code main proc INT 21H mov ax, @data01 mov ds, ax mov dx, offset inMsg mov dl, bl mov ah,2h INT 21H mov ah, 9 mov ax,4C00h INT 21H INT 21H mov ah,1h main endp INT 21H end main mov bl, al mov ax, @data01 mov ds, ax mov dx, offset newline
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Fundamentals of Computer System
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage