Question: Format this 16 bit assembly code to fit this formatting: .MODEL SMALL .DATA msg1 db 10d,13d,Inventory Control Management System$ msg2 db 10d,13d,A - Add new

Format this 16 bit assembly code to fit this formatting:

Format this 16 bit assembly code to fit this formatting: .MODEL SMALL

.MODEL SMALL

.DATA msg1 db 10d,13d,"Inventory Control Management System$" msg2 db 10d,13d,"A - Add new inventory items;$" msg3 db 10d,13d,"B - Lookup inventory item;$" msg4 db 10d,13d,"C - Remove inventory item;$" msg5 db 10d,13d,"D - Print inventory report;$" msg6 db 10d,13d,"E - Update SXU/PLU information;$" msg7 db 10d,13d,"F - Print monthly sales report;$" msg8 db 10d,13d,"X - Exit the system$" msg9 db 10d,13d,"Select operation from menu above : -->$" msg10 db 10d,13d,"F1 - Return to POS$" msg11 db 10d,13d,"F2 - Toggle Terminal Mode$" msg12 db 10d,13d,"X - Exit System$"

.CODE myprog: ;INITIALIZE DATA SEGMENT mov ax,@data mov ds,ax ;CLEAR SCREEN mov ah,06h mov bh,07h mov cx,0000h mov dh,24d mov dl,79d int 10h ;SET CURSOR POSITION mov ah,02h mov bh,02h mov dx,0820h int 10h ;PRINT OPTIONS lea dx,msg1 mov ah,09h int 21h lea dx,msg2 mov ah,09h int 21h lea dx,msg3 mov ah,09h int 21h lea dx,msg4 mov ah,09h int 21h lea dx,msg5 mov ah,09h int 21h lea dx,msg6 mov ah,09h int 21h lea dx,msg7 mov ah,09h int 21h lea dx,msg8 mov ah,09h int 21h lea dx,msg9 mov ah,09h int 21h lea dx,msg10 mov ah,09h int 21h lea dx,msg11 mov ah,09h int 21h lea dx,msg12 mov ah,09h int 21h

;TERMINATE PROGRAM mov ax,4C00h int 21h end myprog

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!