11.07.2015 Views

section 7 - Index of

section 7 - Index of

section 7 - Index of

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

MOVEMMove Program MemoryMOVEMOperation:S~P:eaAssembler Syntax:MOVE(M) S,P:eaS~P:aaP:ea~OP:aa~OMOVE(M)MOVE(M)MOVE(M)S,P:aaP:ea,OP:aa,ODescription: Move the specified operand from/to the specified program (P) memorylocation. This is a powerful move instruction in that the source and destination registersSand D may be any register. All memory alterable addressing modes may be used aswell as the absolute short addressing mode.If the system stack register SSH is specified as a source operand, the system stackpointer (SP) is postdecremented by 1 after SSH has been read. If the system stack registerSSH is specified as a destination operand, the system stack pOinter (SP) is preincrementedby 1 before SSH is written. This allows the system stack to be efficientlyextended using s<strong>of</strong>tware stack pointer operations.When a 56-bit accumulator (A or B) is specified as a source operand S, the accumulatorvalue is optionally shifted according to the scaling mode bits SO and S 1 in the systemstatus register (SR). If the data out <strong>of</strong> the shifter indicates that the accumulator extensionregister is in use and the data is to be moved into a 24-bit destination, the value stored inthe destination is limited to a maximum positive or negative saturation constant to minimizetruncation error. If a 24-bit source operand is to be moved into a 16-bit destinationregister 0, the 8 MS bits <strong>of</strong> the 24-bit source operand are discarded, and the 16 LS bitsare stored in the 16-bit destination register. Limiting does not occur if an individual 24-bitaccumulator register (A1, AO, B1, or BO) is specified as a source operand instead <strong>of</strong> thefull 56-bit accumulator (A or B). This limiting feature allows block floating-point operationsto be performed with error detection since the L bit in the condition code register islatched.-When a 56-bit accumulator (A) is specified as a destination operand 0, any 24-bitsource data to be moved into that accumulator is automatically extended to 56 bits bysign extending the MS bit <strong>of</strong> the source operand (bit 24) and appending the source operandwith 24 LS zeros. Whenever a 16-bit source operand S is to be moved into a 24-bitdestination, the 16-bit source is loaded into the LS 16 bits <strong>of</strong> the destination operand,and the remaining 8 MS bits <strong>of</strong> the destination are zeroed. Note that for 24-bit source

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

Saved successfully!

Ooh no, something went wrong!