Welcome to CSC230 Lab 8
Today we’ll be working with system calls, interrupts, and two MARS tools – the Keyboard and Display MMIO Simulator, and the Bitmap Display. The work we do today will directly prepare us to complete Assignment 3.
There are three videos for us to watch: they’re on Brightspace at Lab Resources > Lab 8.
Watch the videos and follow along in MARS.
Copyright By PowCoder代写 加微信 powcoder
Our first exercise is to modify lab08-B.asm to produce the
output shown at the end of video #1; we need to write code to accept keyboard input, do a calculation, and print the output to the screen.
Welcome to CSC230 Lab 8
The second exercise is to modify lab08-D.asm, which currently keeps track of keyboard events in registers. We need to modify this program to use data memory instead, as explained at the end of video #2.
lab08-E.asm currently displays a pattern made up of four different-coloured pixels on the Bitmap Display. Video 3 invites us to modify this pattern – the end of the video suggests a few different ideas, but feel free to create your own pattern instead.
Regardless of your progress, please submit a screenshot to the lab screenshot assignment by this Sunday night.
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com