answersLogoWhite

0


Best Answer

Write a program using the ADI instruction to add the two hexadecimal numbers 3AH and 48H and store the result in memory location 2100H

User Avatar

Stylish star Praveen...

Lvl 2
2y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: 1 To develop a program using the ADI instruction to add the two hexadecimal numbers 3AH and 48H and store the result in memory location 2100H?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Other Math

What hexadecimal numbers are represented by decimal number 28?

28 = 11100


What is the hexadecimal for ABCDEF?

"The hexadecimal code of ABCDEF" is rather difficult to make. If you want the DECIMAL code for the HEXADECIMAL numbers A, B, C, D, E and F, then you get this explanation: Hexadecimal means 16 and if you are counting hexadecimal and you will start to count from 0 to 9 normally. Then you get A for 10, B for 11, C for 12 D for 13 E for 14 and F for 15.


What is 43 in hexadecimal?

Hexadecimal is a way of writing base sixteen using the letters A-F to represent the numbers 10-15. In base 16, 43 is 2 sixteens and 11 ones, so it is 2B in hexadecimal, as B represents 11.


What is the convertion of FF hexadecimal to a decimal?

0xff = 16 x 15 + 15 = 255 The letters A-F are used to represent the decimal numbers 10-15 (respectively) which are required to be held in one hexadecimal digit.


Write a program that prints a table of the binary, octal and hexadecimal equivalents of the decimal numbers in the range 1 through 256?

import java.util.Scanner; public class NumberSystem { public void displayConversion() { Scanner input = new Scanner(System.in); System.out.printf("%-20s%-20s%-20s%-20s\n", "Decimal", "Binary", "Octal", "Hexadecimal"); for ( int i = 1; i <= 256; i++ ) { String binary = Integer.toBinaryString(i); String octal = Integer.toOctalString(i); String hexadecimal = Integer.toHexString(i); System.out.format("%-20d%-20s%-20s%-20s\n", i, binary, octal, hexadecimal); } } // returns a string representation of the decimal number in binary public String toBinaryString( int dec ) { String binary = " "; while (dec >= 1 ) { int value = dec % 2; binary = value + binary; dec /= 2; } return binary; } //returns a string representation of the number in octal public String toOctalString( int dec ) { String octal = " "; while ( dec >= 1 ) { int value = dec % 8; octal = value + octal; dec /= 8; } return octal; } public String toHexString( int dec ) { String hexadecimal = " "; while ( dec >= 1 ) { int value = dec % 16; switch (value) { case 10: hexadecimal = "A" + hexadecimal; break; case 11: hexadecimal = "B" + hexadecimal; break; case 12: hexadecimal = "C" + hexadecimal; break; case 13: hexadecimal = "D" + hexadecimal; break; case 14: hexadecimal = "E" + hexadecimal; break; case 15: hexadecimal = "F" + hexadecimal; break; default: hexadecimal = value + hexadecimal; break; } dec /= 16; } return hexadecimal; } public static void main( String args[]) { NumberSystem apps = new NumberSystem(); apps.displayConversion(); } }

Related questions

What are hexadecimal numbers?

hexadecimal numbers are the a positional numeral system with a radix, or base, of 16.16 distinct symbols are used in the hexadecimal numbers.


What are hexadecimals?

hexadecimal numbers are the a positional numeral system with a radix, or base, of 16.16 distinct symbols are used in the hexadecimal numbers.


What is the hexadecimal numbers for 66?

42


How do you solve octa-hexadecimal?

That depends what you want to "solve" for - in other words, what the question is. For example, whether you want to:* Convert from hexadecimal to decimal* Convert from decimal to hexadecimal* Count in hexadecimal* Add hexadecimal numbers* etc.


What is the base for hexadecimal numbers?

The number is 16.


What is 15 plus 13 in hexadecimal numbers?

Expressed as a sum in hexadecimal form, F + D = 1C.


What are the hexadecimal numbers?

As with decimal numbers, there are infinitely many of them and so it is not possible to list them.


What is the hexadecimal value of the binary numbers 110011101111?

It is CEF0.


What lets you define a color with numbers and letters?

The hexadecimal system


What a hexadecimal code?

It is a representation of numbers using 16 as the base.


What is n in the hexadecimal?

n isn't used in the hexadecimal system, any more than it's used in decimal (everyday) numbers.


How many five digit hexadecimal strings are there?

Considering the lowest five digit hexadecimal number is 10000 (65,536) and the highest is FFFFF (1,048,575), there are 983,040 different hexadecimal numbers that are five digits.