240 likes | 614 Views
Control Unit CPU Logic Unit Arithmetic Unit. How these components talk to each other? Control lines and Instruction encoding/ decoding (How?) Machine Language (0 and 1 Binary). I/O I/O Devices. Memory Main Memory
E N D
Control Unit CPU Logic Unit Arithmetic Unit How these components talk to each other? Control lines and Instruction encoding/ decoding (How?) Machine Language (0 and 1 Binary) I/O I/O Devices MemoryMain Memory Secondary Storage Needs for convenience How to represent characters and numbers 0 and 1(Binary) Bit/Byte Data encoding ASCII code(how?) and Binary numbers (how?) AssemblyLanguages (How?)(Need Assemblers) Needs for convenience How to store these information Paper tapes Cards Memorycell (Figs) HighLevelLanguages (How?) (Need Compilers, Interpreters) Help developing • Core memory • Transistor memory • IC memory Stored Program Machine (Von Neumann Machine) (See the architecture) Operating System Monitor (BIOS) DOS/UNIX Mac OS GUI Windows X Windows/MS windows Needs for program control and system housekeeping
3+3 Without clocking ? 000 011 011 100 110 1 second 000 011 011 With clocking 000 0 001 1 010 2 011 3 100 =4 101 5 110 6 111 7 000 001 010 011 100 101 010 111 !#@&^#^*(*())*_9068978 沒電 沒電沒電 有電 有電 沒電 有電 有電 沒電 有電
min value 00000000 0 • max value 1111111128-1=255 • Above value is: 1*27+ 0*26+ 0*25+ 1*24+ 1*23+ 1*22+ 0*21+ 1*20= 157 • How to represent negative number? • How to perform arithmetic operations?