11.07.2015 Views

section 7 - Index of

section 7 - Index of

section 7 - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

NOT Logical Complement NOTOperation:Assembler Syntax:0[47:24] -+ 0[47:24] (parallel move) NOT 0 (parallel move)where "-" denotes the logical NOT operatorDescription: Take the ones complement <strong>of</strong> bits 47-24 <strong>of</strong> the destination operand D andstore the result back in bits 47-24 <strong>of</strong> the destination accumulator. This is a 24-bit operation.The remaining bits <strong>of</strong> D are not affected.Example:NOT A 1 AB,L:(R2)+ ;save A 1 ,B 1 , take the ones complement <strong>of</strong> A 1Before ExecutionA~I ____ $0_0:_12_34_56_:7_89_A_BC __ ~AI~ __After Execution$_00_:E_DC_B_A9_:7_8_9A_B __ ~Explanation <strong>of</strong> Example: Prior to execution, the 56-bit A accumulator contains thevalue $OO:123456:789ABC. The NOT A instruction takes the ones complement <strong>of</strong> bits47-24 <strong>of</strong> the A accumulator (A1) and stores the result back in the A1 register. Theremaining bits <strong>of</strong> the A accumulator are not affected.Condition Codes:S -L -N -Z -V -15 14 13 12 11 10 9 8 7 6 5 4 3 2 0I LF 1 OM 1 T 1** 181 180 1 11 1 10 lsi LIE 1 U N 1 z v 1 ~ I.~ MA ~_~ CCA _.Computed according to the definition in A.5 CONDITION CODE COMPUTATIONSet if data limiting has occurred during parallel moveSet if bit 47 <strong>of</strong> A or B result is setSet If bits 47-24 <strong>of</strong> A or B result are zeroAlways cleared

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

Saved successfully!

Ooh no, something went wrong!