| 전자부품 데이터시트 검색엔진 |
|
STC89LE53RC 데이터시트(PDF) 164 Page - STCmicro Technology Co,.Ltd |
|
|
|||||||||||||||||||||||||||||
STC89LE53RC 데이터시트(HTML) 164 Page - STCmicro Technology Co,.Ltd |
|
164 / 165 page ![]() Registers used in parameter passing Number of Argument Char / 1-Byte Pointer INT / 2-Byte Pointer Long/Float Generic Pointer 1 R7 R6 & R7 R4–R7 R1–R3 2 R5 R4 &R5 R4–R7 3 R3 R2 & R3 Since there are only eight registers in the 8051, there may be situations where we do not have enough regist- ers for parameter passing. When this happens, the remaining parameters can be passed through fixed memory loacations. To specify that all parameters will be passed via memory, the NOREGPARMs control directive is used. To specify the reverse, use the REGPARMs control directive. Return Values Unlike parameters, which can be passed by using either registers or memory locations, output values must be returned from functions via registers. The following table shows the registers used in returning different types of values from functions. Registers used in returning values from functions Return Type Register Description bit Carry Flag (C) char/unsigned char/1-byte pointer R7 int/unsigned int/2-byte pointer R6 & R7 MSB in R6, LSB in R7 long/unsigned long R4–R7 MSB in R4, LSB in R7 float R4–R7 32-bit IEEE format generic pointer R1–R3 Memory type in R3, MSB in R2, LSB in R1 164 |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |