ADD B in a microprocessor means to add the contents of the accumulator to the B register and store the result in the accumulator. Flags are set according to the result - Z if zero, C if an unsigned carry occurred, AC if a BCD carry occurred, N if the result is signed negative, O if the parity is odd, OV if a signed overflow occurred. Note that not every microprocessor has every flag listed.
Suppose you want to add 11 and 12.instruction are : mvi a,11h mvi b ,12h mov d,b add b
Suppose we give a 8-bit instruction ADD B to the microprocessor then this instruction is not at all understood by microprocessor as it only accepts binary inputs so first of all it stores the instruction in the INSTRUCTION REGISTOR then it decodes this instruction ADD B to its suitable binary code 80H in the INSTRUCTION DECODER.. after converting to 80H then the microprocessor understands that .. yes i have to add the content of the resistor B with that of A(accumulator) and store the result in the accumulator A this is a small example how microprocessor operates facing the instructions
Lxi h, 2000h mov a,m mov b,a inx h mov a,m add b sta 2002h hlt
OCB 283- Orgando commando B type 2nd generation microprocessor version 83.OCB means Operate by CommandVinoth
03ABH in the 8085 is ... INX B XRA E
Well , the register in micro processors or controllers is memory place that will save the values to be executed , for example if i want to add two numbers in 8085 i would first save ( or write ) the the first parameter into register "A" by applying this command "MVI A,80H" then i would write my second parameter into register "B" by applying "MVI B,20H" , now i can add ( sum ) them together bu using this command "ADD B" . the register "A" will have the result which is "A0". As you can see to make any operation i should save ( or write) the values into register then i will execute command on them . Good Luck !
b
One way to define subtraction is: subtracting means to add the additive inverse of the number to be subtracted, More formally, if a and b are numbers, a subtract b ( wriitten a - b ) means a + (-b) where -b denotes the unique number such that b + (-b) = 0. Summary: a - b = a + (-b) . Comment: This definition is more useful for theory than practice. Students are usually taught how to subtract and then use that knowledge to add negative numbers.
B. J. P. Parente has written: 'Microprocessor for control of static voltage stabilisers'
I believe that the answer to this question is -a+b, as an additive inverse is supposed to make the equation equal to zero when you add the inverse and its equation together. That means that when you add -a and a, you get zero, and -b and b is zero as well, so this would be the most logical explanation to your question.
b/c the 8085 microprocessor is the first 8 bit microprocessor which Intel is produces in 1877 and this is the first general purpose 8 bit microprocessor. there was an 8 bit general purpose register before 8085 named as 8008 but this microprocessor is not functional 8 bit microprocessor
<b>example</b>