Write an Assembly program to reverse the higher 8 bit of a 16 bit number which is in AX and store the number in a new register BX. After that add the number with the new.
P r o g ra m m i n g L a n g u a g e : Machine Language : The first PL is machine language. It is a low-level language rehash with binary number or bit like "0" & "1" that a computer could be perceived. It is known as machine code. Hereafter it is extremely exhausting to bear. The pc only access machine language. It is exhausting to read and write. Afterward it does not reassemble conventional mathematical notation or human language. Moreover it's code vary from computer to computer. Example : "Hello World" 01001000 0110101 01101100 01101100 01101111 00100000 01010111 01101111 01110010 01101100 01100100.. Uses : 1. Machine language is a low-level language that machines understand but that human can decode using an Assembler. 2. A compiler play an important role between human and computer as it convert machine language into other language that is appreciable by human.
P r o g ra m m i n g L a n g u a g e : Generation of PL can be divided into below categories : 1. Machine Language 2. Assembly Language 3. High level Language 4. Very High level Language 5. Natural Language
P r o g ra m m i n g L a n g u a g e Assembly Language Language assignment statement into assembly code where A, B & C are byte variable. A = -(A+B+C)-2(B-1)+2(C+1) Show output value considering self-defined values in variable A, B & C. =
Comments
Post a Comment