Home

8 bit number

8-bit Numbers. Binary Decimal; 01100101: 101: 01100110: 102: 01100111: 103: 01101000: 104: 01101001: 105: 0110101 An 8-bit binary number (byte) can represent 256 possible numbers (0-255). A 16-bit binary number can represent numbers from 0 to 65,535. If we use a byte to transmit information, we can transmit 256 possible combinations, enough to represent the 10 decimal digits, upper- and one word letters, and more. 196 view

In computer architecture, 8-bit integers or other data units are those that are 8 bits wide (1 octet).Also, 8-bit CPU and ALU architectures are those that are based on registers or data buses of that size. Memory addresses (and thus address buses) for 8-bit CPUs are generally larger than 8-bit, usually 16-bit, while they could in theory be 8-bit, and in some situations 8-bit addresses are also. Bits, bytes and nibbles. Each binary digit is called a bit, so 10110110 is an 8-bit number.. A block of 8 bits is called a byte and it can hold a maximum number of 11111111 = 255 in decimal.. Computers and PIC microcontrollers work with blocks of 8 bits. Two (or more) bytes make a word, for example PICs work with a 16-bit word (two bytes) which can hold a maximum number of 65535

An 8 bit number is known as an octet, and also more commonly it is called a byte. See Wiki for details. Binary to Decimal and Decimal to Binary Conversion 8 Bit Numbers. An 8 bit binary number can represent a maximum of decimal 255= binary 11111111. Calculated as follows: 1*128 +1*64+1*32+1*16+1*8+1*4+1*2+1+1 = decimal 255. Here is another 8. We have also seen previously that an 8-bit binary number (a byte) can have a value ranging from 0 (00000000 2) to 255 (11111111 2), that is 2 8 = 256 different combinations of bits forming a single 8-bit byte. So for example an unsigned binary number such as: 01001101 2 = 64 + 8 + 4 + 1 = 77 10 in decimal 8 bytes can store numbers between -9223372036854775808 and 9223372036854775807 Adding in binary is just like normal addition with carrying But when you run out of bits you can't carry anymore Leftmost bit indicates sign, so carrying to the leftmost bit changes a number ffrom positive to negative 8-bit color. 8-bit color graphics are a method of storing image information in a computer's memory or in an image file, so that each pixel is represented by 8-bits (1 byte ). The maximum number of colors that can be displayed at any one time is 256 or 2 8

C#. Types and variables. Basic data types. Numbers. Integers. Unsigned C# - 8-bit unsigned integer: byte, UInt8 8-bit unsigned integer type is used to store only pozitiv whole number. 8-bit unsigned integer and his value range: from 0 to 255 If the 8th bit is '1', then it signifies that the given number is negative, and if it is '0', then it denotes a positive number. Also, when the number has the MSB as one, the magnitude of the negative number is written in 2's complement format. You can brush up on the concepts of 2's complement here 8085 Program to Add N numbers, of size 8 bits. Microcontroller Microprocessor 8085. In this program, we will see how to add a block of data using the 8085 microprocessor 8085 Program to Divide a 16-bit number by an 8-bit number. 8085 program to convert an 8 bit number into Grey number. 8085 program to find square of a 8 bit number. 8085 program to convert 8 bit BCD number into ASCII Code. 8085 program to find sum of digits of 8 bit number. 8085 Program to Add two 8 Bit numbers 8-bit Checksum Calculator. This 8-bit Checksum Calculator can be used to calculate the 8-bit Checksum of a sequence of hexadecimal values or bytes. The bytes and be entered in a string of two character. The character can be entered in either upper case or lower case. 8-bit Checksum is also called the 2's compliment of addition of all bytes

What is the maximum possible number in an 8-bit binary

In this video we will see how to add two 8 it numbers in 8085 microprocessor assembly language in two simplest way.1. Addition of two 8 bit numbers using on.. 8051 8-bit random generator I cannot try this routine due to MCU limitation (8bit holtek MCU), but I wonder if the same function should be applied to an 8 bit random number. So, splitting the random byte into 2 nibbles which should be multiplied by little numbers, then shifted and ORed forming the new random number Number Conversions Consider unsigned 8-bit number system. Answer the questions in binary format: bbbb_bbbb, where b is either 0 or 1. If number is too big, type overflow. 1

8-bit signed integer (I8) 16-bit unsigned integer (U16) 16-bit signed integer (I16) 32-bit unsigned integer (U32) 32-bit signed integer (I32) Byte Order. Little-endian Big-endian. Add encoder or viewer The 8051 is an 8-bit microcontroller. Other than these two registers, the 8051 works exclusively with 8-bit values. Multiplication with two operands greater than the number 16 will produce a 16-bit result. Programming Tip: Compared to addition, subtraction, and multiplication, division is a relatively complicated process Addition of two 8-bit numbers; sum 8-bits. Problem: Add 49H and 56H. · The first number 49H is in the memory location 2501H. · The second number 56H is in the memory location 2502H. · The result is to be stored in the memory location 2503H. · Numbers are represented in hexadecimal system. Program This program masks the lower nibble of an 8-bit number stored in memory location 3000H. Let us assume that the operand stored at memory location 3000H is 45H. The operand is moved to accumulator from memory location 3000H. Then, AND operation of F0H is performed with the accumulator. This results in the masking of the lower nibble

1. Addition of two 8 bit numbers with carry and without carry2. Decimal addition between two 8 bit numbers#hexadecimal_addition #ALP #8085microprocessor #DA.. Note. Literals are interpreted as positive values. For example, the literal 0xFF_FF_FF_FF represents the number 4294967295 of the uint type, though it has the same bit representation as the number -1 of the int type. If you need a value of a certain type, cast a literal to that type. Use the unchecked operator, if a literal value cannot be represented in the target type The number, 256, is 2 raised to the 8th power or the 8-bit color depth. This means that each of the RGB channels has 256 shades so there are 256x256x256 or 16,777,216 colors in total in this 8-bit RGB system. An 8-bit color system is capable of producing over 16 million colors Here are some examples of binary addition performed on eight-bit unsigned numbers. There's no deep trick here — just fill out each number to eight bits, and force the sum to fit as well. If it does not fit, this is considered an overflow, and will be accompanied by a one bit carried out of the 128's place, a carryout The 8 bit number is . 1111 1011 = -128 + 64 + 32 + 16 + 8 + 2 + 1 = -5. It is clear that in the second case the sum of the contributions from the leftmost 5 bits (-128 + 64 + 32 + 16 + 8 = -8) is the same as the contribution from the leftmost bit in the 4 bit representation (-8) This process is refered to as sign-extension, and can be applied.

A common 8 bit microcontroller is the Atmel AVR series. To add 8-bit numbers, it uses an instruction called ADD. This instruction is used to add two register values together. For example, you can do. LDI R16, 5 LDI R17, 10 ADD R16, R17 ; R16 = 15. to add R16 and R17 and put the result in R16. To add 16-bit numbers, you basically just do this. In the case of 8-bit numbers, it will answer just as well if we subtract our number from (1 + 11111111) rather than 100000000. 1 + 11111111 - 01001011 ----- In binary, when we subtract a number A from a number of all 1 bits, what we're doing is inverting the bits of A. So the subtract operation is the equivalent of inverting the bits of the number ASCII, stands for American Standard Code for Information Interchange.It's a 7-bit character code where every single bit represents a unique character. On this webpage you will find 8 bits, 256 characters, ASCII table according to Windows-1252 (code page 1252) which is a superset of ISO 8859-1 in terms of printable characters

By overflow we mean that the result was a number larger, or smaller, than what is capable of being represented using the given number of bits. In the simulator below we are using 8 bit 2's complement numbers. Remember the largest number we may represent is 127 and the smallest number is -128 when considering how we handle the left most bit Here is a sketch which demonstrates Ray's point about letting the compiler do the work in establishing the 4 bytes of the the float and the use of memcpy,(along with a union, and a cast)as an additional method of reassembling 8 bit numbers into a 32 bit float With four 8-bit inputs, the selectors would choose one for the output. The above circuit is non-working, but shows the idea behind the 8-bit multiplexer. The box in the upper left hand corner is the 2-4 line decoder which sends the output into the 4x2 AND-OR. The 4 rectangles lined up on the left are the 8-bit buses I showed earlier

8-bit computing - Wikipedi

  1. Multiplication of two 8-bit numbers Algorithm 1. Start the program by loading HL register pair with address of memory location. 2. Move the data to a B register. 3. Get the second data and load into Accumulator. 4. Add the two register contents. 5. Check for carry. 6. Increment the value of carry. 7
  2. Program 22: Sum of series of 8-bit numbers. Flowchart: Stop Add B with A. If counter = 0? Increment H-L pair. Start Load H-L pair with address of counter's memory location. Move the counter from memory to register C. Increment H-L pair to point to next memory location. Move the next number from memory to register B. Move the result fro
  3. Binary Octal Decimal Hexadecimal. Type. 8-bit unsigned integer (U8) 8-bit signed integer (I8) 16-bit unsigned integer (U16) 16-bit signed integer (I16) 32-bit unsigned integer (U32) 32-bit signed integer (I32) Add encoder or viewer
  4. For an 8-bit unsigned number, there are only 256 possible values, which are 0 to 255. When we add two 8-bit numbers the sum can be any number from 0 to 510, which is a 9-bit number. The 9-bit result in Figure 4.11 exists as the 8 bits R7-R0 plus carry. We can think of 8-bit unsigned numbers as positions along a circle, like a clock
  5. code for program to sort 8-bit numbers in assembly language.model small .data table db 9,8,6,3,5,1 val1 db 5 nl db ' ', '$'.code main proc mov ax,@data mov ds,ax lea bx,table mov dl,val1 lbl1: lea bx,table mov cl,5 lbl2: mov al,[bx] mov dl,[bx+1] cmp al,dl jb lbl3 mov [bx],dl mov [bx+1],al lbl3: inc bx loop lbl2 mov dl,val1 dec dl mov val1,dl cmp dl,00 jne lbl1 mov cl,6 lea bx,table display.

Counting Circuits Electronics Clu

  1. 2.5 SIGNED AND UNSIGNED NUMBERS. Unsigned binary numbers are, by definition, positive numbers and thus do not require an arithmetic sign. An m-bit unsigned number represents all numbers in the range 0 to 2 m − 1. For example, the range of 8-bit unsigned binary numbers is from 0 to 255 10 in decimal and from 00 to FF 16 in hexadecimal. Similarly, the range of 16-bit unsigned binary numbers is.
  2. There are a few 8-bit polynomials that can be used instead of current 0xB8. All of them generate 8-bit pseudo-random sequence but with different characteristic. Give it a try! 0x8E, 0x95, 0x96, 0xA6, 0xAF, 0xB1, 0xB2, 0xB4, 0xB8, 0xC3, 0xC6, 0xD4, 0xE1, 0xE7, 0xF3, 0xF
  3. Tech Stuff - Hexadecimal, Decimal and Binary. The basic unit used in the computer world is the byte (a.k.a octet), a byte (or octet) has 8 bits (a.k.a binary digits). Most modern systems use multiples of a byte, thus, a 16-bit system is comprised of 2 bytes (2 x 8 = 16), a 32-bit system has 4 bytes (4 x 8 = 32) and a 64-bit system has 8 bytes.
  4. In general, the number of possible choices is 2 raised to the number of bits. So 8-bit = 2 8 = 256 possible integer values. In Photoshop, this is represented as integers 0-255 (internally.
  5. This is a 8085 ALP program explaining the Addition of two 8-bit numbers.An example with and without having carry at the output is discussed

DIVISION OF TWO 8 BIT NUMBERS AIM: To perform the division of two 8 bit numbers using 8085. ALGORITHM: 1) Start the program by loading HL register pair with address of memory location. 2) Move the data to a register(B register). 3) Get the second data and load into Accumulator. 4) Compare the two numbers to check for carry NOTE: In this example, I am using modern C99 definitions for 8-bit and 16-bit unsigned values. int may be different on different systems (it only has to be at least 16-bits per the C standard. On the Arduino it is 16-bits, and on my PC it is 32-bits) • The previous algorithm also works for signed numbers (negative numbers in 2's complement form) • We can also convert negative numbers to positive, multiply the magnitudes, and convert to negative if signs disagree • The product of two 32-bit numbers can be a 64-bit number--hence, in MIPS, the product is saved in two 32-bit register

Proteus - IC 74HC164 + IC 477 - LFSR: Random Generator

Understanding Binary Numbers for Beginner

Program to Multiply Two 8 Bit Numbers .model small .data a db 09H b db 02H .code mov ax, @data ; Initialize data section mov ds, ax mov ah, 0 mov al, a ; Load number1 in al mov bl, b ; Load number2 in bl mul bl ; multiply numbers and result in ax mov ch, 04h ; Count of digits to be displayed mov cl, 04h ; Count to roll by 4 bits mov bx, ax ; Result in reg bx l2: rol bx, cl ; roll bl so that. The 8-bit image can hold 256 shades of grey whereas the image on the right can only hold either black or white. 8-bit images allow up to 256 tones, whereas 1-bit images can have only two Bits vs Bits per channel. In the above section, we saw that an 8-bit image can only hold 256 different shades of grey in total Here, we are going to learn how to find minimum of two 8-bit numbers using 8086 Microprocessor? Submitted by Akash Kumar, on November 10, 2018 . Problem: To find minimum of two 8-bit numbers using 8086 Microprocessor. Algorithm: Move the first number to register AL. Move the second number to register BL. Compare the content of register AL and BL if carry goto step 5 otherwise goto step 4

Add 8 Bit BCD Numbers is the program written in assembly language and describes the algorithm of adding two 8 bit BCD numbers through Assembly program code. This program will take numbers as input one by one and then add those BCD numbers. You can find complete steps and algorithm below step by step Convert the following decimal number to 8-bit binary. 187 101110112 110111012 101111012 101111002 Discussion Home ‣ Digital Electronics ‣ Number Systems and Codes Comment Here, we are going to learn how to show masking of lower and higher nibbles of 8-bit number using 8086 Microprocessor? Submitted by Akash Kumar, on November 13, 2018 . Problem: To show masking of lower and higher nibbles of 8-bit number using 8086 Microprocessor. Assumption: Number is stored at memory location 0600. Result will be stored at memory location 0601 and 0602

Signed Binary Numbers and Two's Complement Number

  1. 21) What decimal value does the 8-bit binary number 00010001 have if?(a) It is interpreted as an unsigned number?(b) It is on a computer using signed-magnitude representation?(c) It is on a computer using one's complement representation?(d) It is on a computer using two's complement representation? 32) Add the fallowing unsigned binary numbers as shown.(a) 01110101+00010001 (b) [
  2. To MULTIPLY TWO 8-BIT NUMBERS WITHOUT CARRY MP 8085A we use repetitive addition, here we can not consider CARRY, Thus Output size is 8 bit. WRITE 8085 ASSEMBLY LANGUAGE PROGRAM TO MULTIPLY TWO 8-BIT NUMBERS STORED IN MEMORY LOCATION AND STORE THE 16-BIT RESULTS INTO THE MEMORY WITHOUT CARRY
  3. 600000) to a 32 bit signed integer. I do not understand. A number 32700 by itself is already a 32-bit signed integer.input is 32700, I want 188 127 00 00 that is converting a signed 32-bit integer into four 8-bit integers.I achieved this by using: I do not understand, that's just two numbers.I start getting incorrect conversions If you are having problems with some actual code, instead of.
  4. Jul 03, 2021 - 8085 Program - Shift Left 8-bit Number by 1 Bit -Notes, Engineering, Semester Computer Science Engineering (CSE) Notes | EduRev is made by best teachers of Computer Science Engineering (CSE). This document is highly rated by Computer Science Engineering (CSE) students and has been viewed 6183 times
  5. Add the binary numbers A = 110011 2 and B 1101 2. Solution. By using above binary adder logic, the addition can be performed, however, when it comes to online, this binary adder may used to perform the addition between 2 binary numbers as quick and easy as possible. 1s & 2s Complement Calculator. Binary Subtraction Calculator
  6. You can use the two's complement to decimal converter to convert numbers that are in fixed-point two's complement notation. For example, if you have 16-bit numbers in Q7.8 format, enter the two's complement value, and then just divide the decimal answer by 2 8. (Numbers in Q7.8 format range from -2 15 /2 8 = -128 to (2 15 -1)/2 8 = 127.

Bits and Byte

  1. The twos complement converter can convert numbers with 4-bit, 8-bit, 12-bit, and 16-bit representations, and add custom representations for the binary conversion. What is Two's Complement? There is a simple mathematical operation on different binary numbers and used in computing as the method of signed number representation
  2. Convert 47 to an 8-bit, twos complement binary number. This is positive, so all that is needed is to convert to binary and pad to eight bits. 47÷16 = 2 remainder 15, so 47 10 = 2f 16 = 101111 2. So 47 as an 8-bit two's complement number is just 00101111. Convert -109 to an 8-bit, twos complement number
  3. To find the sum of a series of 8-bit or 16 bit numbers in a given array of 6 numbers. 3.2 RESOURCES The 8086 Microprocessor kit, Power Supply. 3.3 PROGRAM LOGIC In this program, we need to calculate the sum of 6 numbers. The initial sum is assumed as zero. Initially, the resulting sum of the first two numbers will be stored
  4. 1. Find the binary equivalent for the given decimal. 2. Find the one's complement by inverting 0s & 1s of a given binary number. 3. Add 1 to the one's complement provides the two's complement. To calculate the 1's or 2's complement by using this calculator for binary input, select the Binary radio button, just type the binary number in the text.
  5. x86 Assembly Addition of 18-bit Numbers Q: Write a program, take two 8-bit numbers of your choice, add them and display the results..Model small .stack 100h .data a db 02h b db 08h .code MAIN PROC mov ax,@data mov ds,ax mov al,a mov bl,b add al,bl add al,30h mov ah,02 mov dl,al int 21h main endp end main. Explanatio

8-bit color - Wikipedi

Algorithm for 8 bit addition: 1) Start. 2) Initialize data segment through AX register in the DS register. 3) Display the message as Enter the first number. 4) Read first digit in AL register through keyboard (e.g. AL=31h) 5) Call Input procedure to make a number from ASCII hexadecimal to a normal hexadecimal number.AL=01h Subtract two 8-bit numbers. Example (2501 H) = 49H (2502 H) = 32H Result (2503 H) = 49H - 32H = 17H Program Add two 16-bits numbers. Add the 16-bit number in memory locations 2501H and 2502H to the 16-bit number in memory locations 2503H and 2504H. The most significant eight bits of the two numbers to be added are in memory locations 2502H and.

Two's Complement Calculato

One thought on 8086 Assembly Program for Addition of Two 8 bit Numbers karan says: January 4, 2018 at 9:04 AM. It will be if you will explian the program using comment linesdont mind. Reply. Leave a Reply Cancel reply. This site uses Akismet to reduce spam Program that will read a decimal number and print it on the next line using procedures for DECIMAL input and output; Appli which separates odd and even numbers from given 10 8-bit data stored in memory locations and store in different array and add them individually; Program to print Lower Case Letters from a to z in reverse orde Building an 8-bit computer in Logisim (Part 2— Arithmetic) Karl Rombauts. Apr 24, 2020 · 16 min read. In this part, we will be covering how to do all the standard arithmetic operations. 8085 Program to divide a 16-bit number with an 8-bit number. 8085 is a Microprocessor which was developed by Intel in 1970s. All the instructions in this microprocessor are encoded in a single byte. Some of the instructions are followed by one or two bytes of data, which can be a memory address, an immediate operand or a port number

8085 program to reverse 8 bit number - GeeksforGeek

I would like to display a complete binary number such as 00000100; not 100. I cannot get excel to fix the number of places. Thanks 8-Bit Binary Converter Sun Oct 2 10:54:05 EDT 2005 This simple Javascript program shows 8-bit values in decimal, hexadecimal, binary, and ASCII. You can type a value in any of the windows, and when you push return/enter, it will be displayed in all the windows. You can also increment and decrement the displayed value Caution: Due to rounding, a 3/16 drill bit will make the hole smaller than a #8 drill bit and a 13/64 drill bit will make the hole larger than a #8 drill bit. Below we converted the fractions to decimals so you can compare more easily: 3/16 = 0.1875 inches. #8 = 0.1990 inches. 13/64 = 0.203125 inches. There are 25.4 millimeters (mm) in an inch

Multiplication of 8-Bit Numbers in 8085 Microprocessor

The 8 - bit signed binary number will have maximum and minimum values as shown below. The maximum positive number is 0111 1111 +127. The maximum negative number is 1000 0000 -127. As we cannot feed positive or negative signs to the digital system, these should be represented in some other ways An 8-bit or 1-byte hexadecimal number can contain a maximum value of 255 decimal. However , if we begin counting with the number 0 ( zero ), for example, as the first address where data is stored in memory (or in an LBA sector on a hard disk), we have one more location than normally allowed by the hex number FF h: We have room for 256 addresses

8085 program to divide two 8 bit numbers - GeeksforGeek

Essentially, a lot of the information will be wasted. With it, the major reason why you originally decided to shoot in RAW. Another major difference between an 8-bit image and a 16-bit image is in the number of colors that you get. An 8-bit image has only 16 million colors, while a 16-bit image has 28 billion colors Here is an example of a binary number: 10011100 As you can see it is simply a bunch of zeroes and ones, there are 8 numerals in all which make this an 8 bit binary number. Bit is short for B inary Dig it, and each numeral is classed as a bit. The bit on the far right, in this case a 0, is known as the Least significant bit (LSB)

Two nibbles together is a byte or 8 bits. Since the first numeral is 2^0, the last numeral is weighted 2^7. Therefore a byte can be anywhere in the range from 0 to 255. To express the byte 00101110 (46 in decimal) in hexadecimal you would first separate the two nibbles into 0010 and 1110 Info:In digital computer programming,one's & two's Complement is a mathematical operation on binary numbers. 8-bit ones'- complement Examples. Bits Decimal 1's complement Binary; 8 Bits : 127 : 0111 1111: 8 Bits : 126 : 0111 1110: 8 Bits : 2 : 0000 0010: 8 Bits : 1 : 0000 0001: 8 Bits : 0 : 0000 000 Here comes the complement code. That is, -7 complement is. binary 7 = 0111. inverse 7 = 1000. complement 7 = 1001. Note that binary 1001 is 9, which differs from -7 by 16, or . Or, which is the same, complement code complements binary code to , i.e. 7+9=16 Represent - 100 as an 8-bit number 1001 1100 Take the one's complement 0110 0011 Add 1 1 - 100 is represented as 0110 0100 This is the same as + 100. So - ( - 100) is + 100. Double Negations (Part 2) Remember that the range of 8-bit two's-complement arithmetic is - 128 to 127 Remember, 8 bit, 16 bit, and 32 bit images are NUMBER OF BITS PER CHANNEL! There are basically 3 channels in an RGB image, so that's like 24 bit, 48 bit, 96 bit respectively. That is because one term describes the number of bits per channel, while the other describes the number of bits per pixel. 32 bit often refers to 24 bit, though 32 bit is.

Pin on Easy pixel artMario gets a Blue Shell - Level UP Shorts - YouTubeSuper Mario Maker is a hit - get all the review scoresWhat are the World Elevation services?—Help | ArcGIS forPlants vsContra 4 (DS) Game Profile | News, Reviews, VideosKing of Gods | OnRPG

the total number of 8-bit strings that contain at least six 1s: 11) How many arrangements are there of all the letters in the word rearrangement? Since there are repeated letters, we use the formula found on p. 422. There are 13 letters and 7 types of letter (3 r, 3 e, 2 a, 2 n, 1 g, 1 m, 1 t). The number of arrangements i The range of n bit signed numbers is determines as (2^n)/2 -1. In case of 8-bit numbers. 2^8=256. 2^8/2=128. 128-1=127. so the numbers lie in between -128 to 127. If a number that has value out of this range then it will cause overflow. E.g., if there is an addition of two numbers that fall within the range An 8 bit adder is a device that can add two 8 bit binary values. The output is 8 bits along with a carry out. The carry out is needed because its possible that the sum of two 8 bit numbers could be 9 bits. The carry out is the most significant bit, in this case the 2^8 bit. The carryout is ignored when overflow is 0 results, e.g., adding two 8-bit numbers produces a 9-bit result. In many designs one chooses a word size(many computers use 32 or 64 bits) and all arithmetic results are truncated to that number of bits, i.e., arithmetic is performed modulo 2word size. Using a fixed word size can lead to overflow, e.g., when the operatio Previous Post 8086 Assembly Program to Add Two 32 bit Numbers Next Post 8086 Assembly Program for Multiplication of Two 8 bit Numbers. 7 thoughts on 8086 Assembly Program for Division of Two 8 bit Numbers [email protected] says: August 30, 2016 at 4:20 PM. hii. Reply. Sender says Addition of two 8-bit numbers generating a carry. The following Hex Code is applicable for no carry generation also. This program is a generic one for both no-carry and carry generation situation. // Manually store 1st number in the memory location 2000H // For Example 1st number = A9H; i.e, 2000<-A9H // Manually store 2nd number in the memory.