answersLogoWhite

0


Best Answer

A nibble (half-byte) is transferred in the 8085 by reading the destination, masking the alternate nibble, adding the nibble, and storing the result. For example, to store the low order nibble at location 1000H to the byte at location 1001H, you could use...

LDA 1001H

XRI 0F0H

STA 1001H

LXI H,1001H

LDA 1000H

XRI 0FH

ADD M

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

10y ago

You can't access anything smaller than a byte directly - a byte is the smallest unit that has an address in modern computers. To access individual bytes, you can use bitwise manipulation. For example, to extract the upper nibble of a byte, you can do an "and" operation of the specified byte, and the value 0xF0 (hexadecimal F0); to get the lower nibble, you would do an "and" with the value 0x0F. For the upper nibble, you would actually get the four bits, followed by 0000; if you want to eliminate the 0000, you would also need a shift-right operation.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you separating nibbles in 8085 assembly language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How do you build 8085 using vhdl?

VHDL is a hardware description language. It describes the functionality of a hardware as a program. If we know the architecture of 8085, the same can be implemented or coded using VHDL.


What is the Structure of Program in Assembly language?

Assembly language programs are the Low level programs. We write Assembly Language program in basically 8085 and 8086 microprocessors.We can have several registers to do opreations with. Accumulator is one most important Register in a assembly program.We use several instructions like..Arithmetic:INR - Increment AccumulatorADD B - Add Content of Reg. B with AccumulatorSUB, etc.Logical:AND - Bitwise ANDJump Instriction:JZ label - Jump to label if ZERO flaggedJC Label - Jump on CarryEtc..


What is a 8085 microprocessor?

with neat diagram explain the system bus structure of 8085


How does the assembly language can be executed by CPU?

Assembly language programs are the Low level programs. We write Assembly Language program in basically 8085 and 8086 microprocessors.We can have several registers to do opreations with. Accumulator is one most important Register in a assembly program.We use several instructions like..Arithmetic:INR - Increment AccumulatorADD B - Add Content of Reg. B with AccumulatorSUB, etc.Logical:AND - Bitwise ANDJump Instriction:JZ label - Jump to label if ZERO flaggedJC Label - Jump on CarryEtc..Example:MVI B, 06 //Load Register B with the Hex value 06MOV A, B //Move the value in B to the Accumulator or register AMVI C, 07 //Load the Register C with the second number 07ADD C //Add the content of the Accumulator to the Register CSTA 8200 //Store the output at a memory location e.g. 8200HLT //Stop the program execution


What is vss in 8085 pin digram?

Vss, also known as Gnd, is pin 20 on the 8085.

Related questions

How do you write a program in 8085?

Either in Assembly or in some high level language/the hex-code (for the mnemonics) that the microprocessor 8085 generally understands.


Can 8085 CPU replace 8086 CPU?

No. The 8086 has instructions not present in the 8085. The 8086 was marketed as "source compatible" with the 8085, meaning that there was a translator program which could convert assembly language code for the 8085 into assembly language code for the 8086. However, this does not mean that the compiled 8086 assembly code would then run on an 8085; among other things, the 8086 was a true 16-bit processor, as opposed to the 8085 which was an 8-bit processor that supported a few 16-bit operations.


How do you express unary expression in assembly language 8085?

x=p+q*(s/t)*60


Program to count the number of numbers in an array using 8085 microprocessor?

A program which is used to count the number of numbers in an array using a 8085 microprocessor is known as a assembly language program.


Why you use LXI SP command for factorial in 8085 assembly language?

It's up to you: don't use it, if you don't want.


What is the first x86 Microprocessor?

"The x86 architecture first appeared as the Intel 8086 CPU released in 1978, a fully 16-bit design based on the earlier Intel 8085. Although not binary compatible, it was designed to allow assembly language programs written for the 8085 to be mechanically translated into the equivalent 8086 assembly. " Here's the entire Article: http://en.wikipedia.org/wiki/X86


What are the uses of an Intel 8085 microprocessor?

In many engineering schools the 8085 processor is used in introductory microprocessor courses. Trainer kits composed of a printed circuit board, 8085, and supporting hardware are offered by various companies. These kits usually include complete documentation allowing a student to go from solder to assembly language programming in a single course..


Write 8085 assembly language program for BCD up counter and display using 8279?

loop: mvi c,59 dcr c mov a,c daa movc,a jnz loop end


How do you build 8085 using vhdl?

VHDL is a hardware description language. It describes the functionality of a hardware as a program. If we know the architecture of 8085, the same can be implemented or coded using VHDL.


What is the Structure of Program in Assembly language?

Assembly language programs are the Low level programs. We write Assembly Language program in basically 8085 and 8086 microprocessors.We can have several registers to do opreations with. Accumulator is one most important Register in a assembly program.We use several instructions like..Arithmetic:INR - Increment AccumulatorADD B - Add Content of Reg. B with AccumulatorSUB, etc.Logical:AND - Bitwise ANDJump Instriction:JZ label - Jump to label if ZERO flaggedJC Label - Jump on CarryEtc..


Why the name 8085 Why the name 8085 for microprocessor?

8085 is a microprocessor designed by Intel


Why the 16 bit 8085 microprocessor is not possible?

The 8085 was replaced with the 8086/8088. As such, there is no 16 bit version of the 8085.