12.07.2015 Views

Rabbit 2000™ Microprocessor - UTN

Rabbit 2000™ Microprocessor - UTN

Rabbit 2000™ Microprocessor - UTN

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

If the atomic nature of the operation is important then the operation can be shifted to the hl indexregister. For example:SET 3,(IX+4)Use instead:PUSH HLPUSH DELD HL,IXLD DE,4ADD HL,DESET 3,(HL)POP DEPOP HLB.3.1.1 Dynamic C version 7.05Starting with version 7.05, Dynamic C does not generate any of the instructions in Table 1, andthey are not used in the library routines. If any of these instructions are used in an application program,a warning will be generated by the compiler.B.3.1.2 Prior versions of Dynamic CIn versions of Dynamic C prior to 7.05, the library, SLICE.LIB, contains one of these instructions:bit b,(iy+d). Do not use wait states with slice statements in these earlier versions ofDynamic C. If any of the instructions in the table above are used in an application program, nowarning is generated and you are on your own.B.3.2 Output Enable Signal and Conditional JumpsIf wait states are enabled for code memory, the memory output enable signal is shortened by oneclock cycle for the first byte read after any conditional jump instruction that does not jump. This isnot the same as losing a wait state, and in some cases the shortened output enable signal will notcause a problem. The conditional jump instructions are:jp cc, mnjr cc, ecc (condition code) is one of the following:NZ, Zero flag not set;Z,Zeroflagset;NC, Carry flag not set;C, Carry flag set;LZ, Logical/Overflow flag is not set;LO, Logical/Overflow flag is set;P, Sign flag not set;M, Sign flag setcc (condition code) is one of the following:NZ, Zero flag not set;Z,Zeroflagset;NC, Carry flag not set;C, Carry flag set;djnz eDesigner’s Handbook 67

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

Saved successfully!

Ooh no, something went wrong!