U E D R , A S I H C RSS

튜터링/2013/Assembly

Assembly 튜

  • 행하 해 튜
  • :
  • 튜티 : ,,,,

1


  • ?
    • , .

    • , 해 하 .

  • , .( / .)
  • , CPU .
  • , n! .
    • n! .


    • 0 1000 .
      • /10, %10 .
    • .
    • 2 for .

1.
*****
 ****
  ***
   **
    *
2.
*
**
***
****
*****

2

  • Virtual, 2, , ALU, Pipeline, Multitasking, , Little-endian, RISC&CISC

  • 9 3 .
  • . --*
    1. data .

 
.data
arrV BYTE 12h,34h,56h,78h
arrD WORD 0502h, 0603h
arrW DWORD 13141516h
  1. 10 223 16 환하.
  2. 14 5 2 .
  3. Instruction Execution Cycle , .
  • , .

3

  1. Directive instruction .
  2. , .

arrayB BYTE 12h, 34h, 56h, 78h;
arrayW WORD 1324h, 5768h;
arrayD DWORD 87654321h;
mov al, (          )  // al = 21
mov ax, (          )  // ax = 7856
mov eax, (         )  // eax = 57681324
3.

.data
arrV BYTE 12h,34h,56h,78h
arrD  WORD 0502h, 0603h
arrW DWORD 13141516h
a) data .
b) .

   .code
	; 3412h 
	; 1314h 
4. (indirect, indexed) , .

.data
arrayD BYTE 100h, 200h, 300h 
	   indirect operands   		indexed operands
;ax=100h			1)				1)
;ax=ax+300h;			2)				2)
				3)				3)
				4)				4)

4


  • Review

5

  • FSM
  • Interrupt
  • Disk HW , SW
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:31:22
Processing time 0.0206 sec