You need to establish which of two possible orderings a 16-bit word can be placed in a byte addressable memory. It has been too long since I had a need to know this, and I cannot remember which way it went. Other members of the Intel family put the least significant byte of a word in the lowest address. After the instruction is fetched, the PC will be at address 00022H.Hi, I have a question about 8051
I have an instruction which at adress 0020H and codded as 80F0H
what would be the value of PC?
i don't understand how can i decode it
Can you please explain from where did you find 16?The interrupt vector table begins a 0000H.
Address 0000H is a 3-byte entry which normally would be a LJMP instruction.
Assuming that you are not using the rest of the table for interrupts, the instruction
80 F0 = SJMP F0
Since SJMP is a relative jump, it would be executed as SJMP (PC + 2 - 16)
Since PC = 0020H = 32
PC will become 0012H
|Thread starter||Similar threads||Forum||Replies||Date|
|A||Decoding Resistor bands||Datasheets, Manuals & Parts Identification||4|
|T||LZW decoding-:There is no entry for index 7 in the dictionary while decoding, how do I fix this issue?||Homework Help||0|
|T||Decoding a remote control||Microcontrollers||7|
|N||Decoding Analog RF TV signals and using FPGA to process them.||FPGAs (Field Programmable Gate Array)||6|
|T||Can you provide a better picture of 12 bit DAC to 8 bit data bus or explain the address decoding?||Homework Help||1|
|Decoding Resistor bands|
|LZW decoding-:There is no entry for index 7 in the dictionary while decoding, how do I fix this issue?|
|Decoding a remote control|
|Decoding Analog RF TV signals and using FPGA to process them.|
|Can you provide a better picture of 12 bit DAC to 8 bit data bus or explain the address decoding?|
by Jake Hertz
by Jake Hertz