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.0168 sec