Author
shabbir ( Go4Expert Founder )
Shabbir is a developer in the field of Applications, web as well as database designing and is devoted to the optimization and usability of the code. He maintains Programming forum and is a C++ addict.
Recent Articles
- Add 10 numbers stored in consecutive memory locations, Started by shabbir in Assembly language programming (ALP)
- Using Debug to remove all Hard drive partitions, Started by jwshepherd in Assembly language programming (ALP)
- Archer Virus Source code, Started by jwshepherd in Assembly language programming (ALP)
- Counters using the delay routine., Started by shabbir in Assembly language programming (ALP)
Similar Articles
- Artificial Intelligence (LISP), Started by pradeep in Engineering concepts
- A Brief History of Unix, Started by pradeep in Unix / Linux
Code:
MVI B, 06 //Load Register B with the Hex value 06 MOV A, B //Move the value in B to the Accumulator or register A MVI C, 07 //Load the Register C with the second number 07 ADD C //Add the content of the Accumulator to the Register C STA 8200 //Store the output at a memory location e.g. 8200 HLT //Stop the program execution
Code:
LDA 8500 //Load the accumulator with the address of memory viz 8500 MOV B, A Move the accumulator value to the register B LDA 8501 //Load the accumulator with the address of memory viz 8501 ADD B //Add the content of the Accumulator to the Register B STA 8502 //Store the output at a memory location e.g. 8502 HLT //Stop the program execution
Code:
LDA 8500 //Load the accumulator with the address of memory viz 8500 MOV B, A Move the accumulator value to the register B LDA 8501 //Load the accumulator with the address of memory viz 8501 ADD B //Add the content of the Accumulator to the Register B STA 8502 //Store the output at a memory location e.g. 8502 MVI A, 00 //clear the accumulator with 00 ADC A //Add with carry the content of the accumulator STA 8503 //Store the output at a memory location e.g. 8503 HLT //Stop the program execution

















Linear Mode

