CSSE2010 - Hard Topics Explained
Subject notes for UQ CSSE2010
Description
Memorised rules only get you so far in CSSE2010. These notes slow down on three hard topics and explain why each rule works. The first is flags and signed arithmetic. You see why S is N XOR V, how overflow comes from the carries, and how Z behaves across several bytes. The second is state machines and clock timing. A detector is built from sentences, turned into D and T flip-flop equations, then a JK circuit is analysed and several paths are timed. The third is the stack, subroutines and interrupts. It draws recursion and stack arguments address by address, costs an interrupt handler in cycles and walks through a torn 16-bit read. 13 pages with 5 original diagrams and a final self-check. The worked numbers were re-computed with scripts. The complete assembly programs were run on a purpose-built Python simulator of the instructions they use, which is not the official toolchain or real hardware. Register details are for the ATmega324A. Written by a UQ mechatronics graduate who took CSSE2010 and tutored first-year engineering at UQ.
UQ
Semester 1, 2024
13 pages
4,447 words
$29.00
Campus
UQ, St Lucia
Member since
January 2015