1 / 9

COMP 2003: Assembly Language and Digital Logic

COMP 2003: Assembly Language and Digital Logic. Chapter 0: Some Background Notes by Neil Dickson. Purposes of the Course. Learn how modern computers work from a software perspective Learn about the basics of computer architecture. Behold, T he Computer. CPU. RAM. I/O.

jace
Download Presentation

COMP 2003: Assembly Language and Digital Logic

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. COMP 2003:Assembly Language and Digital Logic Chapter 0: Some Background Notes by Neil Dickson

  2. Purposes of the Course • Learn how modern computers work from a software perspective • Learn about the basics of computer architecture

  3. Behold, The Computer CPU RAM I/O the focus of this course a huge can of worms

  4. Memory (RAM) Data in memory is whatever you use it as. 00000000h FFFFFFFFh ... 0000002Bh

  5. CPU Execution • Reads data from memory representing machine code instruction (fetch) • Interprets the machine code (decode) • Reads data from registers or memory to be operated on (load) • Performs the operation specified by the instruction (execute) • Writes results to registers or memory (store)

  6. CPU State (32-bit x86) Things relevant for now Things not relevant until later on General Registers Special Registers Control Registers FPU Registers SSE Registers eax eflags cr0 st0 xmm0 Translation Lookaside Buffers (TLBs) ecx cr2 st1 xmm1 edx eip cr3 st2 xmm2 4 Cache Levels (primary, L1, L2, L3) ebx cr4 st3 xmm3 esp st4 xmm4 ebp gdtr st5 xmm5 MTRRs esi ldtr st6 xmm6 MSRs edi idtr st7 xmm7 Miscellaneous Other Stuff tr cw mxcsr sw tw

  7. What is Assembly Language? • A programmer-readable representation of machine code

  8. Why Use Assembly Language? • To learn how your software actually works under the hood • Performance • Operating Systems • Embedded Systems

  9. Things you’ll need • Inventor IDE, an assembly editor created for this course (http://www.codecortex.com/ide/) • Assembly Language Video Tutorial, a fast, easy way to learn assembly for doing graphics (http://www.codecortex.com/ide/tutorial/)

More Related