΢ÐͼÆËã»ú¼¼Êõ¼°Ó¦Ó㨵ÚËİ棩ϰÌâ½â´ð ÏÂÔر¾ÎÄ

΢ÐͼÆËã»ú¼¼Êõ¼°Ó¦ÓÃÏ°Ìâ½â´ð

΢ÐͼÆËã»ú¼¼Êõ¼°Ó¦ÓÃÏ°Ìâ½â´ð

µÚÒ»Õ ΢ÐͼÆËã»ú¸ÅÊö

1.1 ΢´¦ÀíÆ÷¡¢Î¢ÐͼÆËã»úºÍ΢ÐͼÆËã»úϵͳÈýÕßÖ®¼äÓÐʲô²»Í¬£¿

´ð£º¢Ù ΢´¦ÀíÆ÷ÊÇ΢ÐͼÆËã»úµÄºËÐÄ£¬ÊÇ΢ÐͼÆËã»úµÄÒ»²¿·Ö¡£ËüÊǼ¯³ÉÔÚÒ»¿éо

ƬÉϵÄCPU£¬ÓÉÔËËãÆ÷ºÍ¿ØÖÆÆ÷×é³É¡£ ¢Ú ΢ÐͼÆËã»ú°üÀ¨Î¢´¦ÀíÆ÷¡¢´æ´¢Æ÷¡¢I/O½Ó¿ÚºÍϵͳ×ÜÏߣ¬ÊÇ΢ÐͼÆËã»úϵͳµÄÖ÷Ìå¡£

¢Û ΢ÐͼÆËã»úϵͳ°üÀ¨Î¢ÐͼÆËã»ú¡¢ÍâÉ輰ϵͳÈí¼þÈý²¿·Ö¡£ 1.2

CPUÔÚÄÚ²¿½á¹¹ÉÏÓÉÄļ¸²¿·Ö×é³É£¿CPUÓ¦¾ß±¸ÄÄЩÖ÷Òª¹¦ÄÜ£¿ ´ð£º1.CPUÔÚÄÚ²¿½á¹¹ÉÏÓÉÒÔϼ¸²¿·Ö×é³É£º

¢Ù ËãÊõÂß¼­²¿¼þ(ALU)£» ¢Ú ÀÛ¼ÓÆ÷ºÍͨÓüĴæÆ÷×飻 ¢Û ³ÌÐò¼ÆÊýÆ÷(Ö¸ÁîÖ¸Õë)¡¢Ö¸Áî¼Ä´æÆ÷ºÍÒëÂëÆ÷£» ¢Ü ʱÐòºÍ¿ØÖƲ¿¼þ¡£

2.CPUÓ¦¾ß±¸ÒÔÏÂÖ÷Òª¹¦ÄÜ£º ¢Ù ¿ÉÒÔ½øÐÐËãÊõºÍÂß¼­ÔËË㣻 ¢Ú ¿É±£´æÉÙÁ¿Êý¾Ý£» ¢Û ÄܶÔÖ¸Áî½øÐÐÒëÂë²¢Ö´Ðй涨µÄ¶¯×÷£» ¢Ü Äܺʹ洢Æ÷¡¢ÍâÉè½»»»Êý¾Ý£» ¢Ý ÌṩÕû¸öϵͳËùÐèÒªµÄ¶¨Ê±ºÍ¿ØÖÆ£» ¢Þ ¿ÉÒÔÏìÓ¦ÆäËû²¿¼þ·¢À´µÄÖжÏÇëÇó¡£

ÀÛ¼ÓÆ÷ºÍÆäËûͨÓüĴæÆ÷Ïà±È£¬Óкβ»Í¬£¿

´ð£ºÐí¶àÖ¸ÁîµÄÖ´Ðйý³ÌÒÔÀÛ¼ÓÆ÷ΪÖÐÐÄ£»ÊäÈë/Êä³öÖ¸ÁîÒ»°ãÒ²ÒÔÀÛ¼ÓÆ÷À´Íê³É¡£ ΢´¦ÀíÆ÷µÄ¿ØÖÆÐźÅÓÐÄÄÁ½Àࣿ

´ð£ºÒ»ÀàÊÇͨ¹ý¶ÔÖ¸ÁîµÄÒëÂ룬ÓÉCPUÄÚ²¿²úÉúµÄ¡£ÕâЩÐźÅÓÉCPUË͵½´æ´¢Æ÷¡¢

I/O½Ó¿Úµç·ºÍÆäËû²¿¼þ¡£ÁíÒ»ÀàÊÇ΢ÐÍ»úϵͳµÄÆäËû²¿¼þË͵½CPUµÄ¡£Í¨³£ÓÃÀ´ÏòCPU·¢³öÇëÇó¡£ÈçÖжÏÇëÇó¡¢×ÜÏßÇëÇóµÈ¡£ ΢ÐͼÆËã»ú²ÉÓÃ×ÜÏ߽ṹÓÐʲôÓŵ㣿 ´ð£ºÊ×ÏÈÊÇϵͳÖи÷¹¦Äܲ¿¼þÖ®¼äµÄÏ໥¹Øϵ±äΪ¸÷¸ö²¿¼þÃæÏò×ÜÏߵĵ¥Ò»¹Øϵ¡£Æä

´ÎÊÇÒ»¸ö²¿¼þÖ»Òª·ûºÏ×ÜÏß±ê×¼£¬¾Í¿ÉÒÔÁ¬½Óµ½²ÉÓÃÕâÖÖ×ÜÏß±ê×¼µÄϵͳÖУ¬Ê¹ÏµÍ³¹¦Äܵõ½À©³ä¡£ Êý¾Ý×ÜÏߺ͵ØÖ·×ÜÏßÔڽṹÉÏÓÐʲô²»Í¬Ö®´¦£¿Èç¹ûÒ»¸öϵͳµÄÊý¾ÝºÍµØÖ·ºÏÓÃÒ»Ì××ÜÏß»òÕߺÏÓò¿·Ö×ÜÏߣ¬ÄÇô£¬Òª¿¿Ê²Ã´À´Çø·ÖµØÖ·»òÊý¾Ý£¿ ´ð£º1.Êý¾Ý×ÜÏßÊÇË«ÏòÈý̬£»µØÖ·×ÜÏßÊǵ¥ÏòÊä³öÈý̬¡£

2.Êý¾ÝºÍµØÖ·¸´ÓÃʱ£¬±ØÐëÓÐÒ»¸öµØַѡͨÐźÅÀ´Çø·Ö¸Ã×ÜÏßÉÏÊä³öµÄÊǵØÖ·»¹ÊÇÊý¾Ý¡£

1.3 1.4

1.5

1.6

¿ØÖÆ×ÜÏß´«ÊäµÄÐźŴóÖÂÓÐÄļ¸ÖÖ£¿

´ð£º°üÀ¨CPUËÍÍù´æ´¢Æ÷ºÍI/O½Ó¿ÚµÄ¿ØÖÆÐźţ¬Èç¶ÁÐźš¢Ð´Ðźš¢ÖжÏÏìÓ¦ÐÅ

ºÅ¡¢´æ´¢Æ÷ºÍI/O½Ó¿ÚÇø·ÖÐźŵȡ£»¹°üÀ¨ÆäËû²¿¼þË͵½CPUµÄÐźţ¬ÈçʱÖÓÐźš¢ÖжÏÇëÇóÐźš¢×¼±¸¾ÍÐ÷Ðźŵȡ£

µÚ¶þÕ 8086΢´¦ÀíÆ÷

1

1.7

΢ÐͼÆËã»ú¼¼Êõ¼°Ó¦ÓÃÏ°Ìâ½â´ð

2.1

×ÜÏß½Ó¿Ú²¿¼þÓÐÄÄЩ¹¦ÄÜ£¿ÇëÖðÒ»½øÐÐ˵Ã÷¡£

´ð£º1.×ÜÏß½Ó¿Ú²¿¼þµÄ¹¦ÄÜÊǸºÔðÓë´æ´¢Æ÷¡¢I/O¶Ë¿Ú´«ËÍÊý¾Ý¡£

2.¾ßÌå½²£º¢Ù ×ÜÏß½Ó¿Ú²¿¼þÒª´ÓÄÚ´æÈ¡Ö¸ÁîË͵½Ö¸Áî¶ÓÁУ»

¢Ú CPUÖ´ÐÐÖ¸Áîʱ£¬×ÜÏß½Ó¿Ú²¿¼þÒªÅäºÏÖ´Ðв¿¼þ´ÓÖ¸¶¨µÄÄÚ´æµ¥

Ôª»òÕßÍâÉè¶Ë¿ÚÖÐÈ¡Êý¾Ý£¬½«Êý¾Ý´«Ë͸øÖ´Ðв¿¼þ£¬»òÕß°ÑÖ´Ðв¿¼þµÄ²Ù×÷½á¹û´«Ë͵½Ö¸¶¨µÄÄÚ´æµ¥Ôª»òÍâÉè¶Ë¿ÚÖС£ 8086µÄ×ÜÏß½Ó¿Ú²¿¼þÓÉÄļ¸²¿·Ö×é³É£¿

´ð£º4¸ö¶ÎµØÖ·¼Ä´æÆ÷CS¡¢DS¡¢ES¡¢SS£»16λµÄÖ¸ÁîÖ¸Õë¼Ä´æÆ÷IP£»20λµÄµØÖ·

¼Ó·¨Æ÷£»6×Ö½ÚµÄÖ¸Áî¶ÓÁС£ ¶Î¼Ä´æÆ÷CS=1200H£¬Ö¸ÁîÖ¸Õë¼Ä´æÆ÷IP=FF00H£¬´Ëʱ£¬Ö¸ÁîµÄÎïÀíµØַΪ¶àÉÙ£¿Ö¸ÏòÕâÒ»ÎïÀíµØÖ·µÄCSÖµºÍIPÖµÊÇΨһµÄÂ𣿠´ð£º1.¸ÃÖ¸ÁîµÄÎïÀíµØÖ·=CS¡Á10H+IP=21F00H¡£

2.Ö¸ÏòÕâÒ»ÎïÀíµØÖ·µÄCSÖµºÍIPÖµ²»ÊÇΨһµÄ¡£ 8086µÄÖ´Ðв¿¼þÓÐʲô¹¦ÄÜ£¿ÓÉÄļ¸²¿·Ö×é³É£¿ ´ð£º1.8086µÄÖ´Ðв¿¼þµÄ¹¦ÄÜÊǸºÔðÖ¸ÁîµÄÖ´ÐС£

2.4¸öͨÓüĴæÆ÷AX¡¢BX¡¢CX¡¢DX£»4¸öרÓüĴæÆ÷BP¡¢SP¡¢SI¡¢DI£»±êÖ¾¼Ä´æÆ÷FLAGSºÍËãÊõÂß¼­µ¥ÔªALU¡£ ״̬±êÖ¾ºÍ¿ØÖƱêÖ¾Óкβ»Í¬£¿³ÌÐòÖÐÊÇÔõÑùÀûÓÃÕâÁ½Àà±êÖ¾µÄ£¿8086µÄ״̬±êÖ¾ºÍ¿ØÖƱêÖ¾·Ö±ðÓÐÄÄЩ£¿

´ð£º1.²»Í¬Ö®´¦ÔÚÓÚ£º×´Ì¬±êÖ¾ÓÉÇ°ÃæÖ¸ÁîÖ´ÐвÙ×÷µÄ½á¹û¶Ô״̬±êÖ¾²úÉúÓ°Ï죬¼´

Ç°ÃæÖ¸ÁîÖ´ÐвÙ×÷µÄ½á¹û¾ö¶¨×´Ì¬±êÖ¾µÄÖµ¡£¿ØÖƱêÖ¾ÊÇÈËΪÉèÖõġ£

2.ÀûÓÃ״̬±êÖ¾¿É½øÐмÆËãºÍÅжϵȲÙ×÷¡£ÀûÓÿØÖƱêÖ¾¿É¶ÔijһÖÖÌض¨¹¦ÄÜ(Èçµ¥²½²Ù×÷¡¢¿ÉÆÁ±ÎÖжϡ¢´®²Ù×÷Ö¸ÁîÔËÐеķ½Ïò)Æð¿ØÖÆ×÷Óᣠ3.8086µÄ״̬±êÖ¾ÓУºSF¡¢ZF¡¢PF¡¢CF¡¢AFºÍOF¼Æ6¸ö¡£ 8086µÄ¿ØÖƱêÖ¾ÓУºDF¡¢IF¡¢TF¼Æ3¸ö¡£ 8086/8088ºÍ´«Í³µÄ¼ÆËã»úÏà±ÈÔÚÖ´ÐÐÖ¸Áî·½ÃæÓÐʲô²»Í¬£¿ÕâÑùµÄÉè¼Æ˼ÏëÓÐʲôÓŵ㣿 ´ð£º1.´«Í³µÄ¼ÆËã»úÔÚÖ´ÐÐÖ¸Áîʱ£¬Ö¸ÁîµÄÌáÈ¡ºÍÖ´ÐÐÊÇ´®ÐнøÐеġ£8086/8088 CPU

µÄ×ÜÏß½Ó¿Ú²¿¼þºÍÖ´Ðв¿¼þÔÚÌáÈ¡ºÍÖ´ÐÐÖ¸ÁîʱÊDz¢ÐÐͬʱ¹¤×÷µÄ¡£ 2.8086/8088 CPUµÄÉè¼Æ˼ÏëÓÐÁ¦µØÌá¸ßÁËCPUµÄ¹¤×÷ЧÂÊ£¬ÕâÒ²ÕýÊÇ8086/8088³É¹¦µÄÔ­ÒòÖ®Ò»¡£ ×ÜÏßÖÜÆڵĺ¬ÒåÊÇʲô£¿8086/8088µÄ»ù±¾×ÜÏßÖÜÆÚÓɼ¸¸öʱÖÓ×é³É£¿ÈçÒ»¸öCPUµÄʱÖÓƵÂÊΪ24MHz£¬ÄÇô£¬ËüµÄÒ»¸öʱÖÓÖÜÆÚΪ¶àÉÙ£¿Ò»¸ö»ù±¾×ÜÏßÖÜÆÚΪ¶àÉÙ£¿ÈçÖ÷ƵΪ15MHzÄØ£¿ ´ð£º1.×ÜÏßÖÜÆڵĺ¬ÒåÊÇ×ÜÏß½Ó¿Ú²¿¼þÍê³ÉÒ»¸öÈ¡Ö¸Áî»ò´«ËÍÊý¾ÝµÄÍêÕû²Ù×÷ËùÐèµÄ×î

ÉÙʱÖÓÖÜÆÚÊý¡£

2.8086/8088µÄ»ù±¾×ÜÏßÖÜÆÚÓÉ4¸öʱÖÓÖÜÆÚ×é³É¡£

3.µ±Ö÷ƵΪ24MHzʱ£¬T¦Õ=1/24MHz¡Ö41.7ns£¬T×Ü=4T¦Õ¡Ö167ns¡£ 4.µ±Ö÷ƵΪ15MHzʱ£¬T¦Õ=1/15MHz¡Ö66.7ns£¬T×Ü=4T¦Õ¡Ö267ns¡£ ÔÚ×ÜÏßÖÜÆÚµÄT1¡¢T2¡¢T3¡¢T4״̬£¬CPU·Ö±ðÖ´ÐÐʲô¶¯×÷£¿Ê²Ã´Çé¿öÏÂÐèÒª²åÈëµÈ´ý״̬TW£¿TWÔÚÄĶù²åÈ룿ÔõÑù²åÈ룿

´ð£º1.ÔÚ×ÜÏßÖÜÆÚµÄT1¡¢T2¡¢T3¡¢T4״̬£¬CPU·Ö±ðÖ´ÐÐÏÂÁж¯×÷£º

¢Ù T1״̬£ºCPUÍù¶à·¸´ÓÃ×ÜÏßÉÏ·¢³öµØÖ·ÐÅÏ¢£¬ÒÔÖ¸³öҪѰÕҵĴ洢µ¥Ôª»òÍâÉè¶Ë¿ÚµÄµØÖ·¡£ ¢Ú T2״̬£ºCPU´Ó×ÜÏßÉϳ·ÏúµØÖ·£¬¶øʹ×ÜÏߵĵÍ16λ¸¡Öóɸß×è״̬£¬Îª´«ÊäÊý¾Ý×ö×¼±¸¡£×ÜÏߵĸß4λ(A19~A16)ÓÃÀ´Êä³ö±¾×ÜÏßÖÜÆÚµÄ״̬ÐÅ

2

2.2

2.3

2.4

2.5

2.6

2.7

2.8

΢ÐͼÆËã»ú¼¼Êõ¼°Ó¦ÓÃÏ°Ìâ½â´ð

Ï¢¡£ ¢Û T3״̬£º¶à·×ÜÏߵĸß4λ¼ÌÐøÌṩ״̬ÐÅÏ¢¡£µÍ16λ(8088ΪµÍ8λ)ÉϳöÏÖÓÉCPUд³öµÄÊý¾Ý»òÕßCPU´Ó´æ´¢Æ÷»ò¶Ë¿Ú¶ÁÈëµÄÊý¾Ý¡£ ¢Ü T4״̬£º×ÜÏßÖÜÆÚ½áÊø¡£

2.µ±±»Ð´ÈëÊý¾Ý»òÕß±»¶ÁÈ¡Êý¾ÝµÄÍâÉè»ò´æ´¢Æ÷²»Äܼ°Ê±µØÅäºÏCPU´«ËÍÊý¾Ý¡£Õâʱ£¬ÍâÉè»ò´æ´¢Æ÷»áͨ¹ý¡°READY¡±ÐźÅÏßÔÚT3״̬Æô¶¯Ö®Ç°ÏòCPU·¢Ò»¸ö¡°Êý¾Ýδ׼±¸ºÃµÄÐźš±£¬ÓÚÊÇCPU»áÔÚT3Ö®ºó²åÈëÒ»¸ö»ò¶à¸ö¸½¼ÓµÄʱÖÓÖÜÆÚTW¡£

3.TW²åÔÚT3״̬֮ºó£¬½ô°¤×ÅT3״̬¡£

4.²åÈëµÄTW״̬ʱµÄ×ÜÏßÉϵÄÐÅÏ¢Çé¿öºÍT3״̬µÄÐÅÏ¢Çé¿öÒ»Ñù¡£µ±CPUÊÕµ½´æ´¢Æ÷»òÍâÉèÍê³ÉÊý¾Ý´«ËÍʱ·¢³öµÄ¡°×¼±¸ºÃ¡±ÐźÅʱ£¬»á×Ô¶¯ÍÑÀëTW״̬¶ø½øÈëT4״̬¡£

2.9

´ÓÒýÍÈÐźÅÉÏ¿´£¬8086ºÍ8088ÓÐʲôÇø±ð£¿

´ð£º¢Ù 8086ÓÐ16¸ùÊý¾Ý/µØÖ·¸´ÓÃ×ÜÏߣ¬8088Ö»ÓÐ8¸ù£¬³ÆAD7~AD0¡£

¢Ú 8086µÄµÚ28ÍÈΪM/IO£¬8088µÄµÚ28ÍÈΪM/IO(Ϊ¼æÈÝ8080µÈ)¡£ ¢Û 8086µÄµÚ34ÍÈΪBHE/S7£¬8088µÄµÚ34ÍÈΪSS0¡£

2.10 ÔÚ¶Ô´æ´¢Æ÷ºÍI/OÉ豸¶Áдʱ£¬ÒªÓõ½IOR¡¢IOW¡¢MR¡¢MWÐźţ¬ÕâЩÐźÅÔÚ

M/IO

IOR

M/IO

IOW

M/IO

MR

M/IO

MW

×î´óģʽºÍ×îСģʽʱ·Ö±ð¿ÉÓÃÔõÑùµÄµç·µÃµ½£¿Çë»­³öʾÒâͼ¡£ ´ð£º1.×îСģʽ(ÒÔ8086ΪÀý)£º

2.×î´óģʽ£ºÓÃ8288×ÜÏß¿ØÖÆÆ÷À´ÊµÏÖ¡£

2.11 CPUÆô¶¯Ê±£¬ÓÐÄÄЩÌØÕ÷£¿ÈçºÎÑ°ÕÒ8086/8088ϵͳµÄÆô¶¯³ÌÐò£¿

´ð£º1.CPUÆô¶¯Ê±£¬ÓÐÒÔÏÂÌØÕ÷£º

¢Ù ÄÚ²¿¼Ä´æÆ÷µÈÖÃΪ³õÖµ£» ¢Ú ½ûÖ¹ÖжÏ(¿ÉÆÁ±ÎÖжÏ)£» ¢Û ´ÓFFFF0H¿ªÊ¼Ö´ÐгÌÐò£» ¢Ü Èý̬×ÜÏß´¦ÓÚ¸ß×è״̬¡£

2.8086/8088ϵͳµÄÆô¶¯³ÌÐò´ÓFFFF0Hµ¥Ôª¿ªÊ¼µÄÎÞÌõ¼þתÒÆÖ¸ÁîתÈëÖ´ÐС£ 2.12 CPUÔÚ8086µÄ΢»úϵͳÖУ¬ÎªÊ²Ã´³£ÓÃAD0×÷ΪµÍ8λÊý¾ÝµÄѡͨÐźţ¿

´ð£ºÒòΪÿµ±CPUºÍżµØÖ·µ¥Ôª»òżµØÖ·¶Ë¿Ú½»»»Êý¾Ýʱ£¬ÔÚT1״̬£¬AD0ÒýÍÈ´«

Ë͵ĵØÖ·Ðźűض¨ÎªµÍµçƽ¡£¶øCPUµÄ´«ÊäÌØÐÔ¾ö¶¨ÁËÖ»ÒªÊǺÍżµØÖ·µ¥Ôª»òżµØÖ·¶Ë¿Ú½»»»Êý¾Ý£¬ÔòCPU±Ø¶¨Í¨¹ý×ÜÏßµÍ8λ¼´AD7~AD0´«ÊäÊý¾Ý¡£¿É¼ûAD0¿ÉÒÔÓÃÀ´×÷Ϊ½ÓÓÚÊý¾Ý×ÜÏßµÍ8λÉϵÄ8λÍâÉè½Ó¿ÚоƬµÄѡͨÐźš£ 2.13 8086ºÍ8088ÔÚ×î´óģʽ»ò×îСģʽʱ£¬ÒýÍÈÐźŷֱðÓÐʲô²»Í¬£¿ ´ð£ºÔÚ´ËÁ½ÖÖģʽÖУ¬Ö»ÓеÚ24~31ÍȵÄÐźŲ»Í¬¡£ 24 25 26 27 28 29 30 ÒýÍȺŠ×îСģʽÐźŠ×î´óģʽÐźÅ

31 HOLD INTA ALE QS0 DEN DT/R M/IO S1 3

WR LOCK HLDA QS1 S0 S2 RQ/GT1 RQ/GT0 ΢ÐͼÆËã»ú¼¼Êõ¼°Ó¦ÓÃÏ°Ìâ½â´ð

ÁíÍâ8088µÄµÚ34ÍÈÔÚ×î´óģʽʱΪ¸ßµçƽ£¬×îСģʽʱΪSS0״̬Ðźš£8088µÄµÚ28ÍÈÔÚ×îСģʽʱΪM/IOÐźš£

2.14 8086ºÍ8088ÊÇÔõÑù½â¾öµØÖ·ÏߺÍÊý¾ÝÏߵĸ´ÓÃÎÊÌâµÄ£¿ALEÐźźÎʱ´¦ÓÚÓÐЧµçƽ£¿

´ð£º1.ÔÚ×ÜÏßÖÜÆÚµÄT1״̬£¬¸´ÓÃ×ÜÏßÓÃÀ´Êä³öÒª·ÃÎʵĴ洢Æ÷»òI/O¶Ë¿ÚµÄµØÖ·¸ø

µØÖ·Ëø´æÆ÷8282(3Ƭ)Ëø´æ£»ÔÚÆäËû״̬Ϊ´«ËÍÊý¾Ý»ò×÷´«ËÍ×¼±¸¡£µØÖ·Ëø´æÆ÷8282ÔÚÊÕµ½CPU·¢³öµÄµØÖ·Ëø´æÔÊÐíÐźÅALEºó£¬Ëø´æµØÖ·¡£ 2.ALEÐźÅÔÚÿ¸ö×ÜÏßÖÜÆÚµÄT1״̬ΪÓÐЧ¸ßµçƽ¡£ 2.15

BHEÐźźÍA0ÐźÅÊÇͨ¹ýÔõÑùµÄ×éºÏ½â¾ö´æ´¢Æ÷ºÍÍâÉè¶Ë¿ÚµÄ¶Á/дµÄ£¿ÕâÖÖ×éºÏ

¾ö¶¨ÁË8086ϵͳÖд洢Æ÷żµØÖ·Ìå¼°ÆæµØÖ·ÌåÖ®¼äÓ¦¸ÃÓÃʲôÐźÅÀ´Çø·Ö£¿ÔõÑùÇø·Ö£¿

´ð£º1.×éºÏÇé¿öÈçÏ£º ²Ù ×÷ ËùÓõÄÊý¾ÝÒýÍÈ BHE A0 0 1 0 0 0 0 1 1 ´ÓżµØÖ·¿ªÊ¼¶Á/дһ¸ö×Ö ´ÓżµØÖ·µ¥Ôª»ò¶Ë¿Ú¶Á/дһ¸ö×Ö½Ú ´ÓÆæµØÖ·µ¥Ôª»ò¶Ë¿Ú¶Á/дһ¸ö×Ö½Ú AD15~AD0 AD7~AD0 AD15~AD8 AD15~AD8 AD7~AD0 ´ÓÆæµØÖ·¿ªÊ¼¶Á/дһ¸ö×Ö(ÔÚµÚÒ»¸ö×ÜÏß1 0 ÖÜÆÚ£¬½«µÍ8λÊýËÍAD15~AD8£¬ ÔÚµÚ¶þ¸ö×ÜÏßÖÜÆÚ£¬½«¸ß8λÊýËÍAD7~AD0) 2.ÓÃA0ÐźÅÀ´Çø·ÖżµØÖ·ÌåºÍÆæµØÖ·Ìå¡£ 3.µ±A0=0ʱѡÖÐżµØÖ·Ì壬A0=1ʱѡÖÐÆæµØÖ·Ìå¡£

2.16 RESETÐźÅÀ´µ½ºó£¬CPUµÄ״̬ÓÐÄÄЩÌص㣿

´ð£º¸´Î»ÐźÅÀ´µ½ºó£¬CPU±ã½áÊøµ±Ç°²Ù×÷£¬²¢¶Ô´¦ÀíÆ÷±êÖ¾¼Ä´æÆ÷FR¡¢IP¡¢DS¡¢

SS¡¢ES¡¢ÆäËû¼Ä´æÆ÷¼°Ö¸Áî¶ÓÁÐÇå0£¬¶ø½«CSÉèÖÃΪFFFFH¡£µ±¸´Î»ÐźűäΪµÍµçƽºó£¬CPU´ÓFFFF0Hµ¥Ôª¿ªÊ¼Ö´ÐгÌÐò¡£ 2.17 ÔÚÖжÏÏìÓ¦¹ý³ÌÖУ¬8086Íù8259A·¢µÄÁ½¸öINTAÐźŷֱðÆðʲô×÷Óã¿

´ð£ºµÚÒ»¸ö¸ºÂö³å֪ͨÍⲿÉ豸µÄ½Ó¿Ú£¬Ëü·¢³öµÄÖжÏÇëÇóÒѾ­µÃµ½ÔÊÐí£»ÍâÉè½Ó¿Ú

ÊÕµ½µÚ¶þ¸ö¸ºÂö³åºó£¬ÍùÊý¾Ý×ÜÏßÉÏ·ÅÖжÏÀàÐÍÂ룬´Ó¶øCPUµÃµ½ÁËÓйشËÖжÏÇëÇóµÄÏ꾡ÐÅÏ¢¡£ 2.18 ×ÜÏß±£³Ö¹ý³ÌÊÇÔõÑù²úÉúºÍ½áÊøµÄ£¿»­³öʱÐòͼ¡£

´ð£º1.µ±ÏµÍ³ÖÐCPUÖ®ÍâµÄÁíÒ»¸öÖ÷Ä£¿éÒªÇóÕ¼ÓÃ×ÜÏßʱ£¬Í¨¹ýHOLDÒýÍÈÏòCPU

·¢Ò»¸ö¸ßµçƽµÄÇëÇóÐźš£Èç¹ûCPU´ËʱÔÊÐíÈóö×ÜÏߣ¬¾ÍÔÚµ±Ç°×ÜÏßÖÜÆÚÍê³Éʱ£¬ÓÚT4״̬´ÓHLDAÒýÍÈ·¢³öÒ»¸öÓ¦´ðÐźţ¬¶Ô¸Õ²ÅµÄHOLDÇëÇó×ö³öÏìÓ¦¡£Í¬Ê±£¬CPUʹµØÖ·/Êý¾Ý×ÜÏߺͿØÖÆ״̬Ïß´¦ÓÚ¸¡¿Õ״̬¡£×ÜÏßÇëÇ󲿼þÊÕµ½HLDAÐźź󣬾ͻñµÃÁË×ÜÏß¿ØÖÆȨ£¬Ôڴ˺óÒ»¶Îʱ¼ä£¬HOLDºÍHLDA¶¼±£³Ö¸ßµçƽ¡£ÔÚ×ÜÏßÕ¼Óв¿¼þÓÃÍê×ÜÏßÖ®ºó£¬»á°ÑHOLDÐźűäΪµÍµçƽ£¬±íʾÏÖÔÚ·ÅÆú¶Ô×ÜÏßµÄÕ¼ÓС£8086/8088ÊÕµ½µÍµçƽµÄHOLDÐźźó£¬Ò²½«HLDA±äΪµÍµçƽ£¬ÕâÑù£¬CPUÓÖ»ñµÃÁ˵ØÖ·/Êý¾Ý×ÜÏߺͿØÖÆ״̬ÏßµÄÕ¼ÓÐȨ¡£ 2.ʱÐòͼΪ£º

4