EasyManuals Logo

Infineon Technologies TC1796 User Manual

Infineon Technologies TC1796
2150 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #625 background imageLoading...
Page #625 background image
TC1796
System Units (Vol. 1 of 2)
Peripheral Control Processor (PCP)
User’s Manual 11-88 V2.0, 2007-07
PCP, V2.0
11.11.14 DSTEP, Divide Instruction
This section describes the DSTEP instruction of the PCP.
Note: The value in Ra must always be greater than the value in R0 prior to execution of
the DSTEP instruction. If the rules specified at Page 11-79 are followed, then the
above description and operation are correct. Failure to adhere to these rules will
yield undefined results.
11.11.15 INB, Insert Bit
This section describes the INB instructions of the PCP.
DSTEP Syntax DSTEP <R0>, Rb, Ra
Description Perform 1 step (eight bits) of an unsigned 32- by 32-bit divide
(Rb / Ra). Shift R0 left by 8 bits, copy the most significant byte
of Rb into LS byte of R0. Shift Rb left by 8 bits and add (R0
divided by Ra). Load R0 with (the remainder of R0 divided by
Ra).
Operation R0 = (R0 << 8) + (Rb >> 24)
Rb = (Rb << 8) + R0 / Ra
R0 = R0 % Ra
Flags Z
INB Syntax INB Rb, Ra, cc_A
Description If CONDCA is true, then insert the carry flag R7.C into
register Rb at the bit position specified through bits [4..0] of
register Ra. If CONDCA is false, no operation is performed.
Operation if (CONDCA = True) then R[b][R[a][4:0]] = R7_C else NOP
Flags None
INB.I Syntax INB.I Ra, #imm5
Description Insert the carry flag R7.C into register Ra at the bit position
specified through the immediate value imm5.
Operation R[a][imm5] = R7_C
Flags None

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Infineon Technologies TC1796 and is the answer not in the manual?

Infineon Technologies TC1796 Specifications

General IconGeneral
BrandInfineon Technologies
ModelTC1796
CategoryController
LanguageEnglish