30.10.2014 Views

o_195h4n6al16jb186b1b2qs7fgssa.pdf

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

div.sd<br />

__builtin_divud<br />

Description: The function computes the quotient num/ den. A math error<br />

exception<br />

occurs if denis zero. Function argumentsare unsigned, as is the<br />

function result. The command-line option -Wconversionscan be<br />

used to detect unexpected sign conversions.<br />

Prototype: unsigned int __builtin_divud(const unsigned<br />

người gọi.<br />

Assembler<br />

Điều hành / Máy<br />

Hướng dẫn:<br />

return_address<br />

dsPIC<br />

®<br />

Thư viện Công cụ Ngôn ngữ<br />

long num, const unsigned int den);<br />

Argument: num numerator<br />

den denominator<br />

DS51456B trang 380<br />

GHI CHÚ:<br />

dsPIC<br />

2004 Microchip Technology Inc<br />

Return Value: Returns the unsigned integervalue of the quotient num/ den.<br />

Assembler<br />

Operator / Machine<br />

Instruction:<br />

div.ud<br />

__builtin_mulss<br />

Description: The function computes the product p0x p1. Function arguments are<br />

signed integers, and the function result is a signed long integer. The<br />

command-line option-Wconversionscan be used to detect<br />

unexpected sign conversions.<br />

Prototype: signed long __builtin_mulss(const signed int p0,<br />

const signed int p1);<br />

Argument: p0 multiplicand<br />

p1 multiplier<br />

Return Value: Returns the signed long integer value of the product p0x p1.<br />

Assembler<br />

Operator / Machine<br />

Instruction:<br />

mul.ss<br />

MPLAB C30 Built-in Functions<br />

2004 Microchip Technology Inc. DS51456B-page 377<br />

__builtin_mulsu<br />

Description: The function computes the product p0x p1. Function arguments are<br />

integers with mixed signs, and the function result is a signed long<br />

integer. The command-line option-Wconversionscan be used to<br />

detect unexpected sign conversions. This function supports the full<br />

range of addressing modesof the instruction, including immediate<br />

®LANGUAGE CÔNG CỤ<br />

THƯ VIỆN<br />

2004 Microchip Technology Inc DS51456B trang 381<br />

Phụ lục A. ASCII Character Set<br />

BẢNG A-1: ASCII CHARACTER SET<br />

Hầu hết các nhân vật quan trọng<br />

Nhân vật quan trọng nhất<br />

Hex01234567<br />

0 NUL DLE Space 0 @ P 'p<br />

1 SOH DC1! 1 AQ aq<br />

2 STX DC2 "2 BR br<br />

3 ETX DC3 # 3 CS cs<br />

4 EOT DC4 $ 4 DT dt<br />

5 ENQ NAK 5% EU eu<br />

6ACKSYN & 6 FV FV<br />

7BellETB '7 GW GW<br />

8BSCAN (8 HX hx<br />

9HTEM) 9 IY iy<br />

ALFSUB *: JZ jz<br />

BVTESC +; K [k {<br />

CFFFS, N ^ n ~<br />

FSIUS / O_ Odel?<br />

dsPIC<br />

®<br />

Thư viện Công cụ Ngôn ngữ<br />

mode for operand p1.<br />

DS51456B trang 382<br />

2004 Microchip Technology Inc

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

Saved successfully!

Ooh no, something went wrong!