| 전자부품 데이터시트 검색엔진 |
|
376 데이터시트(PDF) 21 Page - Intel Corporation |
|
|
|||||||||||||||||||||||||||||
376 데이터시트(HTML) 21 Page - Intel Corporation |
|
21 / 95 page ![]() 376 EMBEDDED PROCESSOR This code should be linked into your application for boot loadable code The following build file illustrates how this is accomplished FLAT build program id SEGMENT *segments (dpl 40) Give all user segments a DPL of 0 phantom code (dpl 40) These two segments are created by phantom data (dpl 40) the builder when the FLAT control is used init code (base 40ffffff80h) Put startup code at the reset vector area GATE g13 (entry 413 dpl40 trap) trap gate disables interrupts i32 (entry 432 dpl40 interrupt) interrupt gates doesn’t TABLE create GDT GDT (LOCATION 4 GDT DESC In a buffer starting at GDT DESC BLD386 places the GDT base and GDT limit values Buffer must be 6 bytes long The base and limit values are places in this buffer as two bytes of limit plus four bytes of base in the format required for use by the LGDT instruction ENTRY 4 (3 phantom code Explicitly place segment 4 phantom data entries into the GDT 5code32 6data 7init code) ) TASK MAIN TASK ( DPL 4 0 Task privilege level is 0 DATA 4 DATA Points to a segment that indicates initial DS value CODE 4 main Entry point is main which must be a public id STACKS 4 (DATA) Segment id points to stack segment Sets the initial SSESP NO INTENABLED Disable interrupts PRESENT Present bit in TSS set to 1 ) MEMORY (RANGE 4 (EPROM 4 ROM(0ffff8000h0ffffffffh) DRAM 4 RAM(00ffffh)) ALLOCATE 4 (EPROM 4 (MAIN TASK))) END asm386 flatsima38 debug asm386 applicationa38 debug bnd386 applicationobjflatsimobj nolo debug oj (applicationbnd) bld386 applicationbnd bf (flatsimbld) bl flat Commands to assemble and build a boot-loadable application named ‘‘applicationa38’’ The initialization code is called ‘‘flatsima38’’ and build file is called ‘‘applicationbld’’ 21 |
|
링크 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 |