section 7 - Index of

section 7 - Index of section 7 - Index of

11.07.2015 Views

ACC Add Long with Carry ACCOperation:S+C+D -+ D (parallel move)Assembler Syntax:ADC S,D (parallel move)Description: Add the source operand S and the carry bit C of the condition code registerto the destination operand D and store the result in the destination accumulator. Longwords (48 bits) may be added to the (56-bit) destination accumulator.Note: The carry bit is set correctly for multiple precision arithmetic using long-word operandsif the extension register of the destination accumulator (A2 or B2) is the signextension of bit 47 of the destination accumulator (A or B).Example:MOVE L:

ADC Add Long with Carry ADCresult. The actual 96-bit result is stored in memory using the A 10 and B10 operands(instead of A and B) because shifting and limiting is not desired.Condition Codes:15 14 13 12 11 10 9 8 7 6 5 4 3 2 0I LF I OM I T I ** I 81 I 80 I 11 I lois I I I L E U N I z v I~ MR .~ CCR :.1S - Computed according to the definition in A.5 CONDITION CODE COMPUTATIONL - Set if limiting (parallel move) or overflow has occurred in resultE - Set if the signed integer portion of A or B result is in useU - Set if A or B result is unnormalizedN - Set if bit 55 of A or B result is setZ- Set if A or B result equals zeroV - Set if overflow has occurred in A or B resultC - Set if a carry (or borrow) occurs from bit 55 of A or B result.Note: The definitions of the E and U bits vary according to the scaling mode being used.Refer to Section A.5 for complete details.Instruction Format:ADC S,DOpcode:23 8 74 3 0DATA BUS MOVE FIELD 1 0 0OPTIONAL EFFECTIVE ADDRESS EXTENSIONInstruction Fields:S,D JdX,A 00X,B 01V,A 10V,B 1 1-Timing: 2+mv oscillator clock cyclesMemory: 1 +mv program words

ADC Add Long with Carry ADCresult. The actual 96-bit result is stored in memory using the A 10 and B10 operands(instead <strong>of</strong> A and B) because shifting and limiting is not desired.Condition Codes:15 14 13 12 11 10 9 8 7 6 5 4 3 2 0I LF I OM I T I ** I 81 I 80 I 11 I lois I I I L E U N I z v I~ MR .~ CCR :.1S - Computed according to the definition in A.5 CONDITION CODE COMPUTATIONL - Set if limiting (parallel move) or overflow has occurred in resultE - Set if the signed integer portion <strong>of</strong> A or B result is in useU - Set if A or B result is unnormalizedN - Set if bit 55 <strong>of</strong> A or B result is setZ- Set if A or B result equals zeroV - Set if overflow has occurred in A or B resultC - Set if a carry (or borrow) occurs from bit 55 <strong>of</strong> A or B result.Note: The definitions <strong>of</strong> the E and U bits vary according to the scaling mode being used.Refer to Section A.5 for complete details.Instruction Format:ADC S,DOpcode:23 8 74 3 0DATA BUS MOVE FIELD 1 0 0OPTIONAL EFFECTIVE ADDRESS EXTENSIONInstruction Fields:S,D JdX,A 00X,B 01V,A 10V,B 1 1-Timing: 2+mv oscillator clock cyclesMemory: 1 +mv program words

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!