κiζsヤ緈鍢 发表于 2012-2-10 13:49:10

write assembly programs

Part 2: Using only the instruction set defined in page 64 write assembly programs that does:a) Handshake: Wait until the value of M is not 0, set M to 1, wait until M is 0, set M to 0 (assume those locations are ports).

b) Count the occurrences of zero in an array stored in memory locations 100 through 199. Hint: you may write a program that changes instructions by treating instructions as data. Assume absolute addresses for instruction locations.
页: [1]
查看完整版本: write assembly programs