| поискавой системы для электроныых деталей |
|
CC78K4 датащи(PDF) 466 Page - NEC |
|
|
|||||||||||||||||||||||||||||
CC78K4 датащи(HTML) 466 Page - NEC |
|
466 / 523 page ![]() CHAPTER 11 EXTENDED FUNCTIONS User’s Manual U15556EJ1V0UM 466 EXAMPLE (C source) norec void func (int); void main (void) { func (0x34); } norec void func (int p1) { int a; a = p1; } (Output code) With small model, when -QX2 and -ZO are specified @@CODES CSEG _main: push rp3 ; Save registers for arguments movw rp3,#034H; 52 ; Allocate arguments to RP3 call $!_func3 ; Function call pop rp3 ; Restore registers for arguments ret _func: push vvp ; Save the automatic variable register movw vp,rp3 ; a = p1 pop vvp ; Restore the automatic variable register ret (Output code) With small model, when -QX2 and -ZO is not specified @@CODE CSEG _main: movw ax,#034H ;52 ; Transfers the argument at AX call $!_func ; Function call ret _func: push uup ; Save the automatic variable register push rp3 ; Save registers for arguments movw rp3,ax ; Store argument in RP3 movw up,rp3 ; a = p1 pop rp3 ; Restore registers for arguments pop uup ; Restore the automatic variable register ret |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |