0
  1. Trang chủ >
  2. Công Nghệ Thông Tin >
  3. Kỹ thuật lập trình >

Thiết kế và lập trình hệ thống - Chương 22

Thiết kế và lập trình hệ thống - Chương 22

Thiết kế lập trình hệ thống - Chương 22

... BALTIMORE COUNTY1 9 6 6Arithmetic Operationssub eax, ebxdec edi;Subs registers - Carry flag.sbb ecx, ebx;eax=eax-ebxcmp al, 10Hjae LABEL1;Jump if equal or below.jbe LABEL2;if ecx==eax, eax=edx ... Resultxor ah, ch ;ah=ah XOR chtest al, 4jz LABEL;Jump to LABEL if bit 2 is zero.;Tests bit 2 in al -- 00000100not ebxneg TEMPSystems Design & Programming 80x86 Assembly IV CMPE 3107 (Mar. 1, ... IV CMPE 31010 (Mar. 1, 2002)UMBCU M B CUNIVERSITY OF MARYLAND BALTIMORE COUNTY1 9 6 6Flow-of-Control Instructionsja ;Jump if above (Z=0 and C=0);Jump if below or equal (Z=1 or...
  • 11
  • 333
  • 0
Thiết kế và lập trình hệ thống - Chương 3

Thiết kế lập trình hệ thống - Chương 3

... page table entry addresses a 4KB section of main mem.• Offset: Specifies the byte in the page.11 1221 2231DirectoryPage TableOffset31 12Physical Address0Linear or Virtual AddressPage Directory or ... 2002)UMBCU M B CUNIVERSITY OF MARYLAND BALTIMORE COUNTY1 9 6 6Memory AddressingMemory Paging:11 1221 2231[00]0C[00]10 0x08A0Virtual Address:CR300010 ++0x000100300x050010x050000000x050010000x050010400x000200000x000210000x000300000x00030+0x0003008A[binary]hex0x0301008A=0x030*4*4=0x040Systems ... the 80386 and up.Allows a linear address (virtual address) of a program to be located in any por-tion of physical memory.The paging unit is controlled by the microprocessors control registers:311211...
  • 5
  • 481
  • 0
Thiết kế và lập trình hệ thống - Chương 7

Thiết kế lập trình hệ thống - Chương 7

... 8):A7VCC2K x 8 EPROM123456789201918171615141310271611 1221 2223 24A6A5A4A3A2A1A0GNDO0O1O2A8A9VPPCSA10PD/PGMO7O6O5O4O3Pin(s)FunctionA0-A10PD/PGMCSO0-O7AddressPower down/ProgramChip SelectOutputsChip ... 10ns.A7VCC2K x 8 SRAM123456789201918171615141310TMS401611 1221 2223 24A6A5A4A3A2A1A0GNDDQ1DQ2DQ3A8A9WGA10SDQ8DQ7DQ6DQ5DQ4Pin(s)FunctionA0-A10DQ0-DQ7G (OE)S (CS)AddressData In/Data OutRead EnableChip ... 64-bit wide data bus.The 30-pin and 72-pin SIMMs are not used on these systems.Rather, 64-bit DIMMs (Dual In-line Memory Modules) are the standard.These organize the memory 64-bits wide.The board has...
  • 12
  • 420
  • 0
Thiết kế và lập trình hệ thống - Chương 8

Thiết kế lập trình hệ thống - Chương 8

... )X16G X( )-- -- - -- - -- - -- - -- - -- - -- - -X27X26X25X24X22X21X18+ + + + + +X16X15X21+ + +-- -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - =X16X15X21+ ... 15.Therefore, no more than 2 bytes are needed independent of the data block size.CRCM X( )XnG X( )-- -- - -- - -- - -- - -- - -- - Q X( ) R X( )+= =Q(X) is the quotientR(X) is the remainderG X( ) X16X15X21+ + +=Systems ... ...CS2764A16A17A18A19A13A14A15CSCSCSCSCSCSCSRD of 8088/86Data BusAddress BusF2000-F3FFFF0000-F1FFFF4000-F5FFFF6000-F7FFFF8000-F9FFFFA000-FBFFFFC000-FDFFFFE000-FFFFFAddress spaceF0000H-FFFFFHA13 through A15 selecta 2764A16 through...
  • 21
  • 578
  • 2
Thiết kế và lập trình hệ thống - Chương 9

Thiết kế lập trình hệ thống - Chương 9

... InterfaceI1I2I3I4I5I6I7I8I9I1016L8O1O2O3O4O5O6O7O8A29A30A31I1I2I3I4I5I6I7I8I9I1016L8O1O2O3O4O5O6O7O8A19A20A21A22A23A24A25A26A27A28A0A15O0O7......CEOE27512D0-D7D8-D15D15-D23D24-D31D56-D63D48-D55D40-D47D32-D39A3-A18MRDCA0A15O0O7......CEOE27512A0A15O0O7......CEOE27512A0A15O0O7......CEOE27512A0A15O0O7......CEOE27512A0A15O0O7......CEOE27512A0A15O0O7......CEOE27512A0A15O0O7......CEOE27512(64K ... pin on RAS)A8S1S0MUX256-to-1MUX256-to-1MUX256-to-1MUX256-to-164K array(256 X 256)2552541064K array(256 X 256)64K array(256 X 256)64K array(256 X 256)256K X 1 DRAMA0-A7A10-A17Block 0Block 1Block ... and selected simultaneously:S0S1S2SN-2SN-1Storage cellInput-Output(M bits)AKAK+1AK+2AL-1Column address =A0AK-1Bit lineWord lineA0 to AK-1Row address =AK to AL-1A column decoder is added toselect...
  • 18
  • 470
  • 0
Thiết kế và lập trình hệ thống - Chương 17

Thiết kế lập trình hệ thống - Chương 17

... lowest-num-bered memory location.floatstr db ’Float number -& gt; %f ’, 10, 0main1_str: db ’ Rectangular Areas’, 10, 0temp_buf: times 200 db 0temp_buf_size: equ $-temp_bufneg_exponent: dd -1 00301H302H303H12H34HLow-order ... (February 3, 2000 1 :22 am)UMBCU M B CUNIVERSITY OF MARYLAND BALTIMORE COUNTY1 9 6 6Assembly DirectivesASCII: Stored using an assembler directive db:Word-sized (dw) and doubleword-sized data (dd):Little ... $-temp_bufneg_exponent: dd -1 00301H302H303H12H34HLow-order byteHigh-order byteStorage of the number 1234Systems Programming 80x86 Assembly Basics CMPE 3104 (February 3, 2000 1 :22 am)UMBCU M B CUNIVERSITY OF...
  • 5
  • 427
  • 0
Thiết kế và lập trình hệ thống - Chương 19

Thiết kế lập trình hệ thống - Chương 19

... dlaxbxcxdxspbpdisiAccumulatorBase IndexCountDataStack PointerBase PointerDestination IndexSource Index16-bitregisters32-bitextensionsah alax8-bit16-bitnamesSystems Design & Programming 80x86 Assembly I CMPE 3103 (Feb ... MARYLAND BALTIMORE COUNTY1 9 6 6Data Addressing Modes Base relative-plus-indexA second variation includes: mov eax, [ebx+edi+4] Scaled-indexA second variation includes: mov eax, ebx*2+ecx+offsetScaling ... Addressing Modes• Register IndirectAny of eax, ebx, ecx, edx, ebp, edi or esi may be used.• Base-plus-indexAny combination of eax, ebx, ecx, edx, ebp, edi or esi.• Register relativeA second variation...
  • 9
  • 412
  • 1
Thiết kế và lập trình hệ thống - Chương 20

Thiết kế lập trình hệ thống - Chương 20

... constant is any 32-bit signed value.Base Relative-Plus-Index addressing:Effective address computed as:seg_base + base + index + constant.Designed to be used as a mechanism to address a two-dimensional ... Addressing ModesBase-Plus-Index addressing:Effective address computed as:seg_base + base + index.Base registers: Holds starting location of an array.• ebp (stack)• ebx (data)• Any 32-bit register except ... Addressing ModesScaled-Index addressing:Effective address computed as:seg_base + base + constant*index.Code Memory-Addressing Modes:Used in jmp and call instructions.Three forms: Direct PC-Relative IndirectDirect:Absolute...
  • 8
  • 368
  • 0
Thiết kế và lập trình hệ thống - Chương 23

Thiết kế lập trình hệ thống - Chương 23

... 6✬✎✭✮✠✯✰✱✲✲✯✳✴✰✎✵MiscellaneousDataTransferOperations.INandOUT:Transfersabyte,wordordoublewordofdatafrom/toanI/Odeviceinto/outofAL,AXandEAX,respectively.Memoryoperationsarenotavailable(astheyareinINSandOUTS):Twoforms:•Fixed-portaddressing:8-bitportnumberencodedininstruction.8-bitvalueissign-extendedintoaddressbits 8-1 5.Addressbits1 6-3 1areundefined.•Variable-portaddressing:16-bitportnumberstoredinDX. ✁AL✄✠✝☎✝ ... 6✬✎✭✮✠✯✰✱✲✲✯✳✴✰✎✵MiscellaneousDataTransferOperations.MOVSXandMOVZX(80386anduponly):Move-and-sign-extendandMove-and-zero-extend:BSWAP(80486anduponly):Swapsthefirstbytewiththeforth,andthesecondbytewiththethird.Usedtoconvertbetweenlittleendianandbigendian: ✛✁✄ CX✄BL☎✟✒✏☛✎✙☎✡✙☛✛✎✆✕✒☛✡✍✢✝ ✛✁✂ EAX✄ ✁✂✁✢☎✄✙✚✍✙☎✡✙☛✛✎✟✍✚✛✔✡ ✁✂✁✢✒☛✆✆☎✜✂✄✜✟✙EAXEAXEBXECXEDX✡✡✠✠✞✞✝✝✝✝✞✞✠✠✡✡ ✂✁✄☎ ... 6✬✎✭✮✠✯✰✱✲✲✯✳✴✰✎✵MiscellaneousDataTransferOperations.XCHG:Exchangesthecontentsofaregisterwiththecontentsofanyotherregisterormemorylocation.ItcanNOTexchangesegmentregistersormemory-to-memorydata.Byte,wordanddoublewordscanbeexchangedusinganyaddressingmode(exceptimmediate,ofcourse).XLAT:PerformsatablelookupoperationbyconvertingthevalueinALfromanindextoavaluestoredinthecellofatableinmemory. ✁✂✄EDX✄ESI☎✆✆☎✠✖✔☛✏✙✆ ✝✔☛✛✆✟☛ ✁✂✄AL✄ ✁✂✁✢☎✆☎✠✖✔☛✏✙✚✙✏✒✎✡✙✚✔☛✛✌✙✌✍✚ ✗✔✟✓✙✎✜MOV...
  • 13
  • 361
  • 0
Thiết kế và lập trình hệ thống - Chương 24

Thiết kế lập trình hệ thống - Chương 24

... CUNIVERSITY OF MARYLAND BALTIMORE COUNTY1 9 6 6✪✎✫✬✠✭✮✯✰✰✭✱✲✮✎✳Addition,Increment,Add-with-carryandExchange-and-add(80486):Contentsoftherightmost8bitsoftheFLAGSregistercanchange(+Overflow)forarithmeticandlogicinstructions.Flagsinclude:•Z(resultzero?)•C(carryout?)•A(halfcarryout?)•S(resultpositive?)•P(resulthasevenparity?)•O(overflowoccurred?) ✁✁AL✂✄☎✆✆☎✝✞✟✠✡☛☎☞☞✍✌✎✏✍✑✒✓✔✕✖✗✘✚✙✖✙✖✛✜✖✢✏✌✖✗✣✤✥✦✝✧★✩✧✆✄EDI]☛☎☞☞✍✌✕✖✗✪✌✏✖✕✌✞✫✒✕✕✔✬✭✒✗✯✮ ✁✥ECX✂EBX☛★✫✰✱★✫✰✞★✦✰✂★✦✰✱✑✕✪✗✪✓✒✭★✫✰✮✲ ✁✁ECX✂EBX☛✳✌✖☞✬✑✕✒☞☞✪✓✗✴ ... 6✪✎✫✬✠✭✮✯✰✰✭✱✲✮✎✳Subtraction,DecrementandSubtract-with-borrow:Comparison:Changesonlytheflagbits.Oftenfollowedwithaconditionalbranch: ✁✂EAX✂EBX✁✄✥EDI☛✟✷✶✌✕✖✗✪✌✏✖✕✌☎✫✒✕✕✔✬✭✒✗✯✮ ✂✂ECX✂EBX;EAX=EAX-EBX✥✆✝AL✂✎✞✟✠ ✄LABEL1☛✡✷✙✢✪✬✖☛✷✒✭✑✕✶✍✖✭✑☞✮✠✂✄LABEL2☛✪✬✫✰✱✱☎✰✂☎✰✱✌✰✖✭✌✖☎✰✱✫✰✥✆✝✲✥✍✎CX✂DX☛✡✷✙✢✪✬✖☛✷✒✭✑✕✒✶✑✏✖✮ ✂✁✄☎ ... 6✪✎✫✬✠✭✮✯✰✰✭✱✲✮✎✳MultiplicationandDivision:IMUL/IDIV:Signedintegermultiplication/division.MUL/DIV:Unsigned.ALalwaysholdsthemultiplicand(orAXorEAX).ResultisplacedinAX(orDXandAXorEDXorEAX).CandObitsareclearedifmostsignificant8bitsofthe16-bitproductarezero(resultofan8-bitmultiplicationisan8-bitresult).Divisionbyzeroandoverflowgenerateerrors.Overflowoccurswhenasmallnumberdividesalargedividend.✆✁ BL✣✆✁ BX☛✟✢✖✜✪✒✭✂✫✰✱✌✰✁✎✂✟✄✌✪✗✓✖☞✑✓✭✔☎✣✆✁ CX✂✆✝✞✟✠✡;EDX|EAX=EAX*ECX✆✁ ECX☛☎✰✱☎☛✁✦☛✄✷✓✌✪✗✓✖☞☎☛✌✰☞☎✰✱☎✰✁✦✰✄✌✪✗✓✖☞☎✁✣✌CL;DX|AX=(DX|AX)/CX✣✁✣✌CX☛☎✟☞☎☛✱☎✰✘✫☛✂✷✓✌✪✗✓✖☞☛✷✑✏✪✖✓✏☛✪✓☎☛✂✕✖✙✒✪✓☞✖✕✪✓☎✟ ✂✁✄☎...
  • 13
  • 290
  • 0

Xem thêm

Từ khóa: đồ án thiết kế và lắp đặt hệ thống điện chiếu sáng trong căn hộthiết kế và lắp đặt hệ thống điện chiếu sáng trong căn hộthiet ke va lap dat he thong lanh dan dungthiết kế và chế tạo hệ thống điều khiển tín hiệu giao thông cho ngã tư lập trình bằng vi điều khiểnhệ giữa thiết kế và lập trình hướng đối tượngquy trình thiết kế và cài đặt hệ thống mạngNghiên cứu sự biến đổi một số cytokin ở bệnh nhân xơ cứng bì hệ thốngNghiên cứu tổ hợp chất chỉ điểm sinh học vWF, VCAM 1, MCP 1, d dimer trong chẩn đoán và tiên lượng nhồi máu não cấpNghiên cứu vật liệu biến hóa (metamaterials) hấp thụ sóng điện tử ở vùng tần số THzđề thi thử THPTQG 2019 toán THPT chuyên thái bình lần 2 có lời giảiBiện pháp quản lý hoạt động dạy hát xoan trong trường trung học cơ sở huyện lâm thao, phú thọĐỒ ÁN NGHIÊN CỨU CÔNG NGHỆ KẾT NỐI VÔ TUYẾN CỰ LY XA, CÔNG SUẤT THẤP LPWANNGHIÊN CỨU CÔNG NGHỆ KẾT NỐI VÔ TUYẾN CỰ LY XA, CÔNG SUẤT THẤP LPWAN SLIDEQuản lý hoạt động học tập của học sinh theo hướng phát triển kỹ năng học tập hợp tác tại các trường phổ thông dân tộc bán trú huyện ba chẽ, tỉnh quảng ninhPhát triển du lịch bền vững trên cơ sở bảo vệ môi trường tự nhiên vịnh hạ longNghiên cứu, xây dựng phần mềm smartscan và ứng dụng trong bảo vệ mạng máy tính chuyên dùngNghiên cứu về mô hình thống kê học sâu và ứng dụng trong nhận dạng chữ viết tay hạn chếĐịnh tội danh từ thực tiễn huyện Cần Giuộc, tỉnh Long An (Luận văn thạc sĩ)Thiết kế và chế tạo mô hình biến tần (inverter) cho máy điều hòa không khíTăng trưởng tín dụng hộ sản xuất nông nghiệp tại Ngân hàng Nông nghiệp và Phát triển nông thôn Việt Nam chi nhánh tỉnh Bắc Giang (Luận văn thạc sĩ)Giáo án Sinh học 11 bài 15: Tiêu hóa ở động vậtNguyên tắc phân hóa trách nhiệm hình sự đối với người dưới 18 tuổi phạm tội trong pháp luật hình sự Việt Nam (Luận văn thạc sĩ)Giáo án Sinh học 11 bài 14: Thực hành phát hiện hô hấp ở thực vậtChiến lược marketing tại ngân hàng Agribank chi nhánh Sài Gòn từ 2013-2015HIỆU QUẢ CỦA MÔ HÌNH XỬ LÝ BÙN HOẠT TÍNH BẰNG KIỀMTÁI CHẾ NHỰA VÀ QUẢN LÝ CHẤT THẢI Ở HOA KỲ