answersLogoWhite

0


Best Answer

mov ax:[008D]

mov [00B3]:ax

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a short program in machine language Move the value at memory location 8D to memory location B3?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is assemmbly language machine dependent If so then why.?

Yes! assembly language is machine dependent. Because program are written by means of memory and register on computer thats are very effective, and also have not high level skill in the program.


Is it true that a variable is a storage location in memory that is represented by a name and can hold different values during the execution of the program?

Yes, this is correct. In terms of the compiled machine language, the variable represents a memory location. So, anytime the variable is referenced, and you either set the variable to a value, or retrieve a value from the variable, you are actually referencing the memory location pointed to by the variable.


What does machine language code look like?

Machine language is the computer instructions in memory--the actual bits used by the machine hardware or microcode interpreter. To "look" at it, it has to be converted to a human-readable form. Often, it is printed as a sequence of hexadecimal numbers, usually tagged with the memory address. Sometimes it is processed by a disassembler program, which tries to translate the code into assembly language instructions and data. This is not always successful since in machine architectures that mix data and instructions, it can be difficult to determine which program areas are data and which are instructions.


What are advantages of a machine language?

Advantage? That is not the right question. there is really NO ANSWER.Machine language is the BASE LANGUAGE that a Machine work in.Example: Go Left, Go Right is what we first think of as Machine language. But actually the commands: "Move memory location 1024 to CPU register location 2", Then "shift That register 1 BITE left", then "store back in location 1024"The above are examples of machine language.The first is that of mechanical systems that have HARDWARE to define 'Go' .. be it left or right. The second is an example of 3 steps of Machine instructions in a computer's CPU. One step in a CPU can take 1 billionth of a second.So Assuming that you mean COMPUTER Machine language?IT is easier to program in non-machine language. BUT ALL languages will convert or TRANSLATE the code you type into machine CODE. It is VERY hard to program in Machine code (The hardness determined by the CPU and what it controls).COMPUTERS DO NOT RUN ON ANY OTHER LANGUAGE BUT 'MACHINE CODE'. That is all they understand. So It MAY be an advantage to instruct in machine code if there is an advantage otherwise there is not. Confusing? ENTIRE VOLUMES OF BOOKS have been written on this topic.But when it comes down to the basics? There is nothing more basic than Machine Code.ce


Could you write a assembly language program in tasm To check whether a given number present in a sequence of given memory location containing the string to be checked in 8086?

8086 assembly language program to check wether given number is perfect or not


How are programs stored in a computer?

By stored-program computer, we mean a machine in which the program, as well as the data, are stored in memory, each word of which can be accessed in uniform time. Most of the high-level language programming the reader.


Which step of the machine cycle retrieves the next program instruction from memory?

fetch


What commands clear the computers memory?

When you turn it off, all memory is lost. You usually end up with pseudo-random patters. To actively clear all mem would require a machine language program ... which would be wiped in the process.


What is difference between machine language and assembly language?

Machine language is the actual bits used to control the processor in the computer, usually viewed as a sequence of hexadecimal numbers (typically bytes). The processor reads these bits in from program memory, and the bits represent "instructions" as to what to do next.Thus machine language provides a way of entering instructions into a computer (whether through switches, punched tape, or a binary file).Assembly language is a more human readable view of machine language. Instead of representing the machine language as numbers, the instructions and registers are given names (typically abbreviated words, or mnemonics, eg ld means "load"). Unlike a high level language, assembler is very close to the machine language. The main abstractions (apart from the mnemonics) are the use of labels instead of fixed memory addresses, and comments.An assembly language program (ie a text file) is translated to machine language by an assembler. A disassemblerperforms the reverse function (although the comments and the names of labels will have been discarded in the assembler process).machine language faster than assembly language even than assembly language depend upon machine language


Is assembler low level programming language?

"Assembly language" is essentially a direct translation from machine language. But yes it is a low level language It is one level above pure machine code. In 1967 I first learned to program in machine code and then stepped up to the next level of assembler on an Elliott Brothers 803c computer. The previous answer has the direction wrong! Assembly is translated into machine code which is then loaded into the computer's memory in binary ready for execution.


What does program counter contain?

Program counter is a processor register that indicates where a computer is in its program sequence. It contains the address of the memory location.


What is meant by memory address?

A memory address is an identifier for a memory location, at which a computer program or a hardware device can store data and later retrieve it.