Renesas Technology, Tools FAQs
Last Updated: July 21, 2000
Document Number: 01051273_e
Q.
When NC30 compiles a signed variable left-shift statement, it uses a logical shift instruction instead of an arithmetic shift
instruction. Why is that?
A.
In the M16C instruction set, there are two left-shift instructions: arithmetic shift instruction (SHA) and logical shift instruction
(SHL). Both instructions bring the same result. Therefore, NC30 uses the "SHL" instruction.
Top of Page | Back to Previous Page
Terms of Use Privacy Policy
(C)2004 Renesas Technology Corp., All Rights Reserved.
Kommentare zu diesen Handbüchern