we can do this using two techniques:
here i m assuming that two number which is to be multiplied are given..
say 05H and 04H,
so coz 5*4 = 5+5+5+5 = 20
and 4*5 = 4+4+4+4+4 = 20
use this concept ...
MVI A,05H;
MVI B,04H;
L1:
ADD A;
DCR B;
JNZ : L1;
STA 2004H;
HLTType your answer here...
write an assembly language program to find sum of N numbers
fish
How to write the program un Assembly language to set a password for personal computers?
You need an 8086 assembly language pencil.
write program to concatenating two sting in 8086 assembly language
write a program to print A to Z on screen in c?
assembly language uses abbreviation called menmonics.it is a bit easier to write computer programs in assembly language as compared to machine language but still requires skill and experienci.A program called assembler is used to convert an assembly language into machine language.
Either in Assembly or in some high level language/the hex-code (for the mnemonics) that the microprocessor 8085 generally understands.
das
8086 assembly language program to check wether given number is perfect or not
That's what opcode 'NEG' does on some processors.Can be emulated with a 'NOT' and an 'INC'.
There isn't a reason to write a complete program to do this; in any assembly language just shift the value 1 bit to the left to double it.