7. SUB: - substract the content of a register or a memory location form the content of accumulator and the result is stored in the accumulator.
Eg: - SUB B( it substracts the content of B register from the content of the accumulator.
SUB M( it substracts the content of memory location pointed by HL pair from the content of
accumulator.
8. SBB: - substract with borrow.
Eg: - SBB B
SBB M
9.SUI: - Substract immediate from accumulator. this instruction subtract the immediate data from the content of accumulator and the result is store in accumulator.
Eg: - SUI 45H
10.SBI: - Substract immediate from the content of the accumulator and the result is stored in accumulator.
Eg: - SUB B( it substracts the content of B register from the content of the accumulator.
SUB M( it substracts the content of memory location pointed by HL pair from the content of
accumulator.
8. SBB: - substract with borrow.
Eg: - SBB B
SBB M
9.SUI: - Substract immediate from accumulator. this instruction subtract the immediate data from the content of accumulator and the result is store in accumulator.
Eg: - SUI 45H
10.SBI: - Substract immediate from the content of the accumulator and the result is stored in accumulator.
SBI:substract immediate from the content of the accumulator & result store in accumulator ,,,,,,but it is essential examples?
ReplyDeleteIn SBI after subtract if there is any burrow then carry flag is set..
DeleteIn some programs,we used SUB A without storing any value in A;then which value is subtracted from A?
ReplyDeleteInstruction is wrong
DeleteHow does SBB H work ?
Deletewhat means by SUB A?
ReplyDeleteBubble Sort Algorithm
ReplyDeleteElements: Assembly Language Programming
Register Window with Appropriate Window
Basic Error types
Deadlock Prevention Methods
Church Turing Thesis
Artificial Intelligence
Failure Handling in IPC
ReplyDeleteStatus Register Bits
Hashing Functions with Example
Crossbar Switch Interconnection Structures
Delay, Loss, Throughput
GUI Architecture of Android