| 数据搜索系统,热门电子元器件搜索 |
|
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 |
|
链接网址 |
| 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 |