|
Hauptseite - Welches System? - Hardware - Software - Textverarbeitung - |
Internet MausNet Programmieren Verweise Über |
Assembler - Basic - C - Modula II - Pascal - Tools
| NAME | ROL, ROR -- Rotate left and rotate right | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| SYNOPSIS |
Size = (Byte, Word, Long) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FUNCTION |
Rotate the bits of the operand in the specified direction.
The rotation count may be specified in two different ways:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FORMAT |
In the case of the rotating of a register:
In the case of the rotating of a memory area:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| NUMBER/REGISTER |
Specifies number of rotating or number of register which contents
the number of rotating. If i/r = 0, number of rotating is specified in the instruction as immediate data If i/r = 1, it's specified in the data register. If dr = 0, right rotating If dr = 1, left rotating |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SIZE |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| REGISTER |
For a register rotating: Indicates the number of data register on which rotating is applied.
For a memory rotating: Only addressing modes relatives to memory are allowed:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| RESULT |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
English version not yet available. |