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

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

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

... in the first column of the output of ls -l:crw-rw -- - - 1 root daemon 6, 0 May 5 2002 lp0crw-rw -- - - 1 root daemon 6, 1 May 5 2002 lp1brw-rw -- - - 1 root disk 3, 1 May 5 2002 hda1The ... SCULL_MAX_TYPE) return -ENODEV;/* Set filp->f_op to point to the appropriate list of methods and call the open method. */ filp->f_op = scull_fop_array[type]; return filp->f_op->open(inode...
Ngày tải lên : 15/11/2012, 11:07
  • 19
  • 268
  • 0
Thiết kế và lập trình hệ thống - Chương 3

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

... 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 ... appropriate page table and (finally) one tothe desired data or code item. Ouch!A Translation Look-aside Buffer (TLB) is used to cache page directoryand page table entries to reduce the number o...
Ngày tải lên : 15/11/2012, 11:07
  • 5
  • 481
  • 0
Thiết kế và lập trình hệ thống - Chương 7

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

... 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 ... 4B1A 1B 2A 2B 3A 3B 4A 4BRASA074157 (2-to-1MUX)A1A2A3A4A5A6A71Y 2Y 3Y 4Y 1Y 2Y 3Y 4YAddress BUSInputs to DRAM0: latch A to Y1: latch B to YSS74157 (2-to-1MUX) Systems Design & Programming...
Ngày tải lên : 15/11/2012, 11:07
  • 12
  • 420
  • 0
Thiết kế và lập trình hệ thống - Chương 8

Thiết kế và 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( )--...
Ngày tải lên : 15/11/2012, 11:07
  • 21
  • 578
  • 2
Thiết kế và lập trình hệ thống - Chương 9

Thiết kế và 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 ... p...
Ngày tải lên : 15/11/2012, 11:07
  • 18
  • 470
  • 0
Thiết kế và lập trình hệ thống - Chương 17

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

... directive db:Word-sized (dw) and doubleword-sized data (dd):Little endian: Least significant byte is always stored in the lowest-num-bered memory location.floatstr db ’Float number -& gt; %f ’, 10, ... Rectangular Areas’, 10, 0temp_buf: times 200 db 0temp_buf_size: equ $-temp_bufneg_exponent: dd -1 00301H302H303H12H34HLow-order byteHigh-order byteStorage of the number 1234 Systems Progra...
Ngày tải lên : 15/11/2012, 11:07
  • 5
  • 427
  • 0
Thiết kế và lập trình hệ thống - Chương 19

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

... dlaxbxcxdxspbpdisiAccumulatorBase IndexCountDataStack PointerBase PointerDestination IndexSource Index16-bitregisters32-bitextensionsah alax8-bit16-bitnames Systems 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:...
Ngày tải lên : 15/11/2012, 11:07
  • 9
  • 412
  • 1
Thiết kế và lập trình hệ thống - Chương 20

Thiết kế và 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 reg...
Ngày tải lên : 15/11/2012, 11:07
  • 8
  • 368
  • 0
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

... 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 TEMP Systems Design & Programming 80x86 Assembly IV CMPE 3107 (Mar...
Ngày tải lên : 15/11/2012, 11:07
  • 11
  • 333
  • 0
Thiết kế và lập trình hệ thống - Chương 23

Thiết kế và 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...
Ngày tải lên : 15/11/2012, 11:07
  • 13
  • 361
  • 0
Từ khóa: