
rej06b0150| Application Note
APPLICATION NOTE
H8/300L Series
Shifting 16-Bit Data to the Right (SHR)
Introduction
1. The software SHR shifts a 16-bit binary number to the right. 2. The number of shifts can be specified within the range of 1 to 16. 3. This function is useful in multiplying a 16-bit binary number by 2-n (n = shift count).
Target Device
H8/300L Series
Contents
1. 2. 3. 4. 5. 6. 7. Arguments......................................................................................................................................... 2 Changes to Internal Registers and Flags ......................................................................................... 2 Specifications .................................................................................................................................... 2 Note................................................................................................................................................... 2 Description ........................................................................................................................................ 3 Flowchart........................................................................................................................................... 5 Program List.......................................................................................................
............................... 6
REJ06B0150-0100Z/Rev.1.00
September 2003
Page 1 of 8
rej06b0150 Application Note renesas Download PDF
Add this permalink to your bookmarks for future download of rej06b0150 ApplicationNote
Permalink: http://application.emcelettronica.com/renesas/rej06b0150