《操作系统》的实验代码。
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
165 B

  1. .main
  2. # this is a critical section
  3. mov 2000(%bx), %ax # get the value at the address
  4. add $1, %ax # increment it
  5. mov %ax, 2000(%bx) # store it back
  6. halt