Ï¢£¬ÊäÈëÉ豸Ö÷ÒªÊÇÊäÈëÐÅÏ¢¸ø¼ÆËã»ú£¬Êä³öÉ豸Ö÷ÒªÊǼÆËã»úÊä³öÐÅÏ¢¡£
2¡¢ IBM PC»úµÄÖ÷´æÖ÷ÒªÓÐÖ»¶Á´æ´¢Æ÷ºÍËæ»ú´æ´¢Æ÷¡£Ö»¶Á´æ´¢Æ÷Ö»ÄܶÁ³ö£¬²»ÄÜд
È룬Ëæ»ú´æ´¢Æ÷¿ÉÒÔдÈëÒ²¿ÉÒÔ¶Á³ö¡£
3¡¢ 8086΢´¦ÀíÆ÷µÄ×Ö³¤Îª16룬ÄÜÖ±½Ó·ÃÎʵĴ洢µ¥Ôª¿ÉÒÔÊÇ2¸ö×Ö½Ú¡£
4¡¢ 8088΢´¦ÀíÆ÷µÄÂß¼µØÖ·Á½²¿·Ö×é³É£¬°üÀ¨¶ÎµØÖ·ºÍÆ«ÒƵØÖ·£»ÎïÀíµØÖ·=¶ÎµØÖ·
*16+Æ«ÒƵØÖ·¡£
5¡¢ Èç¹ûÒ»¸ö³ÌÐòÔÚÖ´ÐÐÇ°£¨CS£©=0A7F0H£¬£¨IP£©=2B40H£¬¸Ã³ÌÐòµÄÆðʼµØÖ·
=0A7F0H*16+2B40H=0AAA40H¡£ 6¡¢
78H 56H 34H 12H 02003H 02002H 02001H 02000H
7¡¢Ñ°Ö··½Ê½¾ÍÊÇÖ¸£ºÑ°ÕÒ²Ù×÷Êý»òÕß²Ù×÷µØÖ·µÄ¸÷ÖÖ·½·¨£¬Ñ°Ö··½Ê½Ö÷ÒªÓÐ7ÖÖ £¨1£©£®Á¢¼´ÊýÑ°Ö· £¨2£©£®¼Ä´æÆ÷Ñ°Ö· £¨3£©£®Ö±½ÓÑ°Ö· £¨4£©£®¼Ä´æÆ÷¼ä½ÓÑ°Ö· £¨5£©£®¼Ä´æÆ÷Ïà¶ÔÑ°Ö··½Ê½ £¨6£©£®»ùÖ·±äÖ·Ñ°Ö··½Ê½ £¨7£©£®Ïà¶Ô»ùÖ·±äÖ·Ñ°Ö··½Ê½
¶þ¡¢Ìî¿ÕÌâ
1¡¢ CPU¡¢´æ´¢Æ÷ 2¡¢ 4¡¢4¡¢ALU
3¡¢ Âß¼µØÖ·¡¢ÎïÀíµØÖ·
4¡¢ Æ«ÒƵØÖ·£¬¶Î»ùÖ·*16+Æ«ÒƵØÖ·£¬¶Î¼Ä´æÆ÷ 5¡¢Âë¡¢²Ù×÷Êý
6¡¢¼Ä´æÆ÷Ïà¶ÔÑ°Ö··½Ê½£¬¼Ä´æÆ÷¼ä½ÓÑ°Ö·£¬Ö±½ÓÑ°Ö·£¬»ùÖ·±äÖ·Ñ°Ö··½Ê½£¬¼Ä´æÆ÷Ñ°Ö·£¬Á¢¼´ÊýÑ°Ö·£¬Ïà¶Ô»ùÖ·±äÖ·Ñ°Ö··½Ê½£¬¼Ä´æÆ÷Ïà¶ÔÑ°Ö··½Ê½ 7¡¢ZF£¬CF£¬SF£¬OF 8¡¢1£¬ÓзûºÅ
9¡¢05AEH£¬4000H
10¡¢0AB0H£¬1£¬1£¬0F8B0H£¬1£¬1 Èý¡¢Ñ¡ÔñÌâ
1¡¢C 2¡¢A 3¡¢C 4¡¢B 5¡¢A 6¡¢D 7¡¢C 8¡¢B 9¡¢C 10¡¢D ËÄ¡¢ÊÇ·ÇÅжÏÌâ
1¡¢¡Á 2¡¢¡Á 3¡¢¡Ì 4¡¢¡Ì 5¡¢¡Á 6¡¢¡Á Îå¡¢¸ù¾ÝÒÔÏÂÒªÇóÑ¡ÓÃÏàÓ¦µÄÖ¸Áî»òÖ¸ÁîÐòÁÐ 1¡¢ MOV AX£¬4629H 2¡¢ LDS BX£¬DATA 3¡¢ ADD DX£¬BX 4¡¢ SUB AX£¬0360H
5¡¢ MOV BX£¬ES£º[0500H]
31
6¡¢ MOV CL£¬2
SHL AL£¬CL 7¡¢IMUL BL 8¡¢MOV CX£¬0 9¡¢OR DX£¬0E00H 5¡¢ AND AL£¬0FH 6¡¢ XOR CL£¬0F0H 7¡¢ MOV CL£¬2
SAR AX£¬CL
13¡¢MOV CL£¬4 ROL AL£¬CL 14¡¢SHL AX£¬1 RCL DX£¬1 15¡¢NEG DX NEG AX SBB DX£¬0
=======================================================
Ò»¡¢ÎÊ´ðÌâ
1¡¢ÏÂÁÐ×Ö·û±íʾ³ÉÏàÓ¦µÄASCIIÂëÊǶàÉÙ£¿
£¨1£©»»ÐÐ £¨2£©×Öĸ¡°Q¡± £¨3£©¿Õ¸ñ
2¡¢ÏÂÁи÷»úÆ÷ÊýËù±íʾÊýµÄ·¶Î§ÊǶàÉÙ£¿ £¨1£©8λ¶þ½øÖÆÎÞ·ûºÅ¶¨µãÕûÊý£» £¨2£©8λ¶þ½øÖÆÎÞ·ûºÅ¶¨µãСÊý£»
£¨3£©16λ¶þ½øÖÆÎÞ·ûºÅ¶¨µãÕûÊý£»
£¨4£©Óò¹Âë±íʾµÄ16λ¶þ½øÖÆÓзûºÅÕûÊý£»
3¡¢(111)X=273£¬»ùÊýX=£¿
4¡¢ÓÐÒ»¸ö¶þ½øÖÆСÊýX=0.X1X2X3X4X5X6
(3) ÈôʹX¡Ý1/2£¬ÔòX1??X6Ó¦Âú×ãʲôÌõ¼þ? (4) ÈôʹX£¾1/8£¬ÔòX1??X6Ó¦Âú×ãʲôÌõ¼þ£¿
4¡¢ ÓÐÁ½¸ö¶þ½øÖÆÊýX=01101010£¬Y=10001100£¬ÊԱȽÏËüÃǵĴóС¡£ £¨1£© XºÍYÁ½¸öÊý¾ùΪÎÞ·ûºÅÊý£»
£¨2£© XºÍYÁ½¸öÊý¾ùΪÓзûºÅµÄ²¹ÂëÊý¡£ ¶þ¡¢Ìî¿ÕÌâ
1¡¢¶ÔÓÚR½øÖÆÊýÀ´Ëµ£¬Æä»ùÊý£¨ÄÜʹÓõÄÊý×Ö·ûºÅ¸öÊý£©ÊÇ £¬ÄÜʹÓõÄ×îСÊý×Ö·ûºÅÊÇ ¡£
2¡¢Ê®½øÖÆÊý72ת»»³É°Ë½øÖÆÊýÊÇ ¡£ 3¡¢ÓëÊ®½øÖÆÊý67µÈÖµµÄÊ®Áù½øÖÆÊýÊÇ ¡£ 4¡¢¶þ½øÖÆÊý101.011ת»»³ÉÊ®½øÖÆÊýÊÇ ¡£ 5¡¢Ê®Áù½øÖÆÊý0E12ת»»³É¶þ½øÖÆÊýÊÇ ¡£ Èý¡¢Ñ¡ÔñÌâ 1¡¢ÔÚ¼ÆËã»úÄÚ²¿£¬Ò»ÇÐÐÅÏ¢µÄ´æÈ¡¡¢´¦ÀíºÍ´«ËͶ¼ÊÇÒÔ ÐÎʽ½øÐеġ£ A£©EBCDICÂë B£©ASCIIÂë C£©Ê®Áù½øÖƱàÂë D£©¶þ½øÖƱàÂë
32
2¡¢ÓëÊ®½øÖÆÊý56µÈÖµµÄ¶þ½øÖÆÊýÊÇ ¡£
A£©111000 B£©111001 C£©101111 D£©110110 3¡¢Ê®½øÖÆÊý59ת»»³É°Ë½øÖÆÊýÊÇ ¡£
A£©73Q B£©37Q C£©59Q D£©112Q 4¡¢ÓëÊ®½øÖÆÊý58.75µÈÖµµÄÊ®Áù½øÖÆÊýÊÇ ¡£
A£©A3.CH B)3A.CH C)3A.23H D)C.3AH 5¡¢¶þ½øÖÆÊý1101.01ת»»³ÉÊ®½øÖÆÊýÊÇ ¡£
A£©17.256 B)13.5 C)13.25 D)17.5 6¡¢¶þ½øÖÆÊý111010.11ת»»³ÉÊ®Áù½øÖÆÊýÊÇ ¡£ A£©3ACH B£©3A.CH C)3A3H D)3A.3H 7¡¢Ê®Áù½øÖÆÊý1CB.D8ת»»³É¶þ½øÖÆÊýÊÇ ¡£ A£©110001011.11001 B)111101011.11101 C)111101011.11101 D)111001011.11011
8¡¢½«Ê®Áù½øÖÆÊýFF.1ת»»³ÉÊ®½øÖÆÊýÊÇ ¡£ A£©255.625 B)2501625 C)255.0625 D)250.0625 9¡¢Ê®½øÖÆÕýÊý43µÄ°Ëλ¶þ½øÖÆÔÂë ¡£
A£©00110101 B£©00101011 C£©10110101 D£©10101011 10¡¢Ê®½øÖÆÕýÊý38µÄ°Ëλ¶þ½øÖƲ¹ÂëÊÇ ¡£
A£©00011001 B£©10100110 C£©10011001 D£©00100110 ËÄ¡¢ÊÇ·ÇÅжÏÌâ
1¡¢ÔÚµÚÈý´ú¼ÆËã»úÆÚ¼ä³öÏÖÁ˲Ù×÷ϵͳ¡£ £¨ £© 2¡¢¶ÔÓÚÖÖÀ಻ͬµÄ¼ÆËã»ú£¬Æä»úÆ÷Ö¸Áîϵͳ¶¼ÊÇÏàͬµÄ¡££¨ £© 3¡¢ÔÚ¼ÆËã»úÖУ¬Êý¾Ýµ¥Î»bitµÄÒâ˼ÊÇ×Ö½Ú¡£ £¨ £©
4¡¢°Ë½øÖÆÊýµÄ»ùÊýΪ8£¬Òò´ËÔڰ˽øÖÆÊýÖпÉÒÔʹÓõÄÊý×Ö·ûºÅÊÇ0¡¢1¡¢2¡¢3¡¢4¡¢5¡¢6¡¢7¡¢8¡££¨ £©
5¡¢ÔÚºº×Ö¹ú±êÂëGB2312-80µÄ×Ö·û¼¯ÖУ¬¹²ÊÕ¼¯ÁË6763¸ö³£Óúº×Ö¡££¨ £©
´ð°¸£º Ò»¡¢ÎÊ´ðÌâ 1¡¢£¨1£©0AH £¨2£©51H £¨3£©20H 2¡¢£¨1£©0~255 £¨2£©0.996094 £¨3£©0~65535 £¨4£©-32768~32767 3¡¢16 4¡¢£¨1£©X1=1 £¨2£©X1¡Å X2 ¡Å X3=1 5¡¢£¨1£©X£¾Y £¨2£©X 10¡¢ 110000010010B Èý¡¢Ñ¡ÔñÌâ 1¡¢D 2¡¢A 3¡¢A 4¡¢B 5¡¢C 6¡¢B 7¡¢D 8¡¢C 9¡¢B 10¡¢D ËÄ¡¢ÊÇ·ÇÅжÏÌâ 1¡¢¡Ì 2¡¢¡Á 3¡¢¡Á 4¡¢¡Á 5¡¢¡Ì 33 Ò»¡¢ »Ø´ðÏÂÁÐÎÊÌâ 1¡¢ ÉèVALA EQU 200 VALB EQU 30 VALC EQU 1BH ÏÂÁбí´ïʽµÄÖµ¸÷Ϊ¶àÉÙ£¿ £¨1£©£¨VALA*VALC+VALB£©/VALC £¨2£©£¨VALB AND 0FH£©OR £¨VALB XOR 0FH£© £¨3£©£¨VALA GE VALB £©AND 0FH 2. ¸ù¾ÝÏÂÁÐÒªÇó±àдһ¸ö»ã±àÓïÑÔ³ÌÐò:£º £¨1£©´úÂë¶ÎµÄ¶ÎÃûΪCOD_SG £¨2£©Êý¾Ý¶ÎµÄ¶ÎÃûΪDAT_SG £¨3£©¶ÑÕ»¶ÎµÄ¶ÎÃûΪSTK_SG £¨4£©±äÁ¿HIGH_DATËù°üº¬µÄÊý¾ÝΪ95 £¨5£©½«±äÁ¿HIGH_DAT×°Èë¼Ä´æÆ÷AH£¬BHºÍDL £¨6£©³ÌÐòÔËÐеÄÈë¿ÚµØַΪSTART 3¡¢¶¨ÒåÒ»¸öÊý¾Ý¶ÎµÄ×Ö·û±äÁ¿ºÍÊý¾Ý±äÁ¿¡£ £¨1£© TRINGΪ×Ö·û´®±äÁ¿£º¡®Personal computer¡¯ £¨2£© VALDΪʮ½øÖÆÊý×Ö½Ú±äÁ¿12£¬99 £¨3£© VALHΪʮÁù½øÖÆÊý×Ö±äÁ¿32H£¬0FAH £¨4£© VALZΪ10¸öÁãµÄ×Ö½Ú±äÁ¿ £¨5£© VALWΪ20¸ö×Öµ¥Ôª 4¡¢¶¨ÒåÒ»¸öÊý¾Ý¶Î£¬ÒªÇóÈçÏ£º £¨1£© ¶Î½çÆðʼÓÚ×Ö±ß½ç £¨2£© ¸Ã¶ÎÓëͬÃûÂß¼¶ÎÏàÁÚÁ¬½Ó³ÉÒ»¸öÎïÀí¶Î £¨3£© Àà±ðºÅΪ¡®DATA¡¯ £¨4£© ¶¨ÒåÊý¾Ý12£¬30£¬¡®ABCD¡¯ £¨5£© ±£Áô20¸ö×ֵĴ洢Çø 5¡¢ÏÂÁбêºÅΪʲôÊÇ·Ç·¨µÄ? (1) GET.DATA (2) 1_NUM (3) TEST-DATA (4) RET (5) NEW ITEM 6¡¢ÏÂÃæµÄÊý¾ÝÏîÉèÖÃÁ˶àÉÙ¸ö×Ö½Ú? (1) ASC_DATA DB ¡®1234¡¯ (2) HEX_DATA DB 1234H 7¡¢ DATA SEGMENT TABLE_ADDR DW 1234H DATA ENDS . . . MOV BX, TABLE_ADDR LEA BX, TABLE_ADDR Çëд³öÉÏÊöÁ½ÌõÖ¸ÁîÖ´Ðкó, BX¼Ä´æÆ÷ÖеÄÄÚÈÝ¡£ 8¡¢Ð´³ö·ÖÅä¸øÏÂÁÐÖжÏÀàÐͺÅÔÚÖжÏÏòÁ¿±íÖеÄÎïÀíµØÖ·¡£ (1) INT 12H (2) INT 8 9¡¢AR1ºÍVAR2Ϊ×Ö±äÁ¿£¬LABΪ±êºÅ£¬ÊÔÖ¸³öÏÂÁÐÖ¸ÁîµÄ´íÎóÖ®´¦¡£ £¨1£©ADD VAR1£¬VAR2 £¨2£©SUB AL£¬VAR1 34 £¨3£©JMP LAB[SI] £¨4£©JNZ VAR1 ¶þ¡¢Ìî¿ÕÌâ 1¡¢¼ÙÉ裨DS£©=2000H£¬£¨BX£©=1256H£¬£¨SI£©=528FH£»Î»ÒÆÁ¿TABLE=20A1H£¬£¨232F7H£©=3280H£¬£¨264E5H£©=2450H£¬Ôò Ö´ÐÐÖ¸ÁîJMP BXºó£¬£¨IP£©= £» Ö´ÐÐÖ¸ÁîJMP TABLE[BX]ºó£¬£¨IP£©= £» Ö´ÐÐÖ¸ÁîJMP [BX][SI]ºó£¬£¨IP£©= ¡£ 2¡¢ÔÚ1000Hµ¥ÔªÖÐÓÐÒ»Ìõ¶þ×Ö½ÚÖ¸ÁîJMP SHORT LAB£¬Èç¹ûÆäÖÐÆ«ÒÆÁ¿·Ö±ðΪ30H¡¢6CH¡¢0B8H£¬ÔòתÏòµØÖ·LABµÄÖµ·Ö±ðΪ £» £» £» 3¡¢Êý¾Ý¶ÎÖÐÓÐÒÔ϶¨Ò壺 ARRAY1 EQU 16H ARRAY2 DW 16H ÇëÖ¸³öÏÂÃæÁ½ÌõÖ¸ÁîµÄÑ°Ö··½Ê½£º MOV AX£¬ARRAY1£» Ñ°Ö··½Ê½ ¡£ MOV AX£¬ARRAY2£» Ñ°Ö··½Ê½ ¡£ 4¡¢ÏÂÃæÁ½¸öÓï¾äµÄÇø±ðÔÚÓÚ ¡¢ ¡£ X1 EQU 1000H X2 =1000H 5¡¢Ö¸Áî¡°AND AX£¬STR1 AND STR2¡±ÖУ¬STR1ºÍSTR2ÊÇÁ½¸öÒѸ³ÖµµÄ±äÁ¿£¬Á½¸öANDµÄÇø±ðÊÇ ¡¢ ¡£ 6¡¢Ö¸ÁîLOOPZ/LOOPEÊǽá¹û »ò ·¢ÉúתÒƵÄÖ¸Áî¡£¶øÖ¸ÁîLOOPNZ/LOOPNEÔòÊǽá¹û »ò ·¢ÉúתÒƵÄÖ¸Áî¡£ 7¡¢µ÷ÓÃÖ¸ÁîCALL¿É·ÖΪ ¡¢ ¡¢ ºÍ µÈËÄÖÖµ÷Óᣠ8¡¢ÔÚ»ã±àÓïÑÔÖУ¬Ò»¸ö¹ý³ÌÓÐNEARºÍFARÁ½ÖÖÊôÐÔ¡£NEARÊôÐÔ±íÃ÷Ö÷³ÌÐòºÍ×Ó³ÌÐò £¬FARÊôÐÔ±íʾÖ÷³ÌÐòºÍ×Ó³ÌÐò ¡£ 9¡¢´®´¦ÀíÖ¸Áî¹æ¶¨Ô´¼Ä´æÆ÷ʹÓà £¬Ô´´®ÔÚ ¶ÎÖУ»Ä¿µÄ¼Ä´æÆ÷ʹÓà £¬Ä¿µÄ´®±ØÐëÔÚ ¶ÎÖС£ 10¡¢ Êǹý³Ì¶¨Òå½áÊøαָÁÓë ÅäÌ×ʹÓᣠÊǶζ¨Òå½áÊøαָÁÓë ÅäÌ×ʹÓᣠÈý¡¢Ñ¡ÔñÌâ 1¡¢Ö´ÐÐÏÂÁгÌÐò£¬Ñ¡ÔñÕýÈ·µÄ½á¹û£º MOV SP£¬2000H MOV AX£¬0F0H MOV SI£¬1234H MOV DX£¬5678H PUSH SI POP DI SHL DX£¬1 TEST AX£¬DX PUSH DX HLT £¨1£©SP= £» A£©2000H B£©1FFFH C£©2001H D£©1FFEH 35