Hitachi SH7750 Programming Manual page 213

High-performance risc engine superh (sh) 32-bit risc mcu/mpu series
Hide thumbs Also See for SH7750:
Table of Contents

Advertisement

void qnan(int n)
{
if (FPSCR_PR==0)
else {
}
}
Example
An example is shown using assembler mnemonics, indicating the states before and after execution
of the instruction.
Italics (e.g., .align) indicate an assembler control instruction. The meaning of the assembler
control instructions is given below. For details, refer to the Cross-Assembler User's Manual.
.org
Location counter setting
.data.w
Word integer data allocation
.data.l
Longword integer data allocation
.sdata
String data allocation
.align 2
2-byte boundary alignment
.align 4
4-byte boundary alignment
.align 32
32-byte boundary alignment
.arepeat 16
16-times repeat expansion
.arepea t 32 32-times repeat expansion
.aendr
Count-specification repeat expansion end
Note: SH Series cross-assembler version 1.0 does not support conditional assembler functions.
FR[n]
= 0x7fbfffff;
FR[n]
= 0x7ff7ffff;
FR[n+1] = 0xffffffff;
Rev. 2.0, 03/99, page 199 of 396

Advertisement

Table of Contents
loading

Table of Contents