《操作系统》的实验代码。
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

6 行
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