answersLogoWhite

0

start: jmp main option1 db 0ah, 0dh, "1. OPTION 1 $" option2 db 0ah, 0dh, "2. OPTION 2 $" exit db 0ah, 0dh, "3. EXIT $" str1 db 0ah, 0dh, "Press Key: $" x db 0ah, 0dh, "You Pressed option 1 $" y db 0ah, 0dh, "You Pressed option 2 $" z db 0ah, 0dh, "End $" nvl db 0ah, 0dh, "Invalid Option $" one db "1" two db "2" tre db "3" main proc mov ah,09h lea dx,option1 int 21h lea dx,option2 int 21h lea dx,exit int 21h again: mov ah,09h lea dx,str1 int 21h mov ah,01 int 21h mov bl,al cmp bl,"1" je disp1 cmp bl,"2" je disp2 cmp bl,"3" je dispexit cmp al,one jne n cmp al,two jne n cmp al,tre jne n n: mov ah,09h lea dx,nvl int 21h jmp again disp1: mov ah,09h lea dx,x int 21h jmp again disp2: mov ah,09h lea dx,y int 21h jmp again dispexit: mov ah,09h lea dx,z int 21h int 20h main endp end start

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Engineering

What programming language is SharePoint programmed in?

Microsoft Office SharePoint Services is programmed in the asp.net framework using C# as the programming language.


Why net is need when have java?

Java (from Sun) is a programming language that is interpreted in bytecode using a virtual interface, it sounds complicated and it is more complicated than simply using HTML to display a page, and it is also much slower.


Is it possible to use arrays when using the java programming language?

It is possible to use arrays when employing java programming language. There are many different series of programming choice that can be employed with various end results.


What is the difference between high level language and low level language?

A programming language that is machine-independent is called a "high-level" language - this includes Java, C++, Python, etc. A programming language that is machine-dependent is called a "low-level" language. For PCs, this usually includes assembly, binary code or some proprietary languages on embedded devices.


What are the characteristics of low level languages?

Instructions are either in machine code - or they are one to one with machine code - Using mnemonic codes for operations - Using labels for addresses of data - Used for controlling the computer/close to hardware - Allows direct manipulation of memory addresses - Contains a code for the operation to be carried out... - and a binary representation of the value to be manipulated/address of the value to be manipulated. - Different forms of addressing mentioned. - Different forms of instruction: Arithmetic/Jump/Control

Related Questions

What is assemble in computer programming?

Assembly (not assemble) is the process by which low-level instruction code written in assembly language is converted into machine code. This is achieved using a piece of software called an assembler. Assembly language is a machine-specific language thus the resultant machine code is non-portable.


How do you display 'hello world' using c programming language?

#include<stdio.h> int main (void) { printf ("Hello world!\n"); return 0; }


Is assembler is required in complier to executable the code?

That depends on the programming language you're using. An assembler is used to translate assembly instructions into machine code. A compiler will only require this if it first translates source code into assembly.


What programming language is SharePoint programmed in?

Microsoft Office SharePoint Services is programmed in the asp.net framework using C# as the programming language.


Is MySQL a programming language?

MySQL was written and developed using the C and C++ programming languages.


What is the structure of the ots keyword in the programming language you are using?

In the programming language I am using, the structure of the "ots" keyword is typically used for object-oriented programming and stands for "object to string." It is used to convert an object into a string representation.


Why net is need when have java?

Java (from Sun) is a programming language that is interpreted in bytecode using a virtual interface, it sounds complicated and it is more complicated than simply using HTML to display a page, and it is also much slower.


Are There any ways to develop your own software?

you can develpo your system level software using C programming or assembly if u want to develop a particular application then you can use any suitable IDE or language or else if you want to develop ur own programming language then develop a compiler or interpreter for it.u can do it in assemblyor c.ok


Can i get a project topic using vb programming language?

bank transaction


What you 'll do using programming language?

Write computer-programs, I suppose.


When was pascal programming language invented?

quote: Pascal is an influential imperative and procedural programming language, designed in 1968/9 and published in 1970 by Niklaus Wirth as a small and efficient language intended to encourage good programming practices using structured programming and data structuring.


Is it possible to use arrays when using the java programming language?

It is possible to use arrays when employing java programming language. There are many different series of programming choice that can be employed with various end results.