From 5bfdcd516116a8495d04a89de7fff1d8e2f3cd1f Mon Sep 17 00:00:00 2001 From: David Frisbee <8747335+h0bbl3s@users.noreply.github.com> Date: Tue, 21 Oct 2025 23:03:59 -0400 Subject: [PATCH] Fixed button comments The button comments had the incorrect direction. Signed-off-by: David Frisbee <8747335+h0bbl3s@users.noreply.github.com> --- src/Embedded Application/embedded.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Embedded Application/embedded.asm b/src/Embedded Application/embedded.asm index aa09f6f..e086b53 100644 --- a/src/Embedded Application/embedded.asm +++ b/src/Embedded Application/embedded.asm @@ -74,12 +74,12 @@ loop: li a0, 0x121 ecall - # If button 0 was pressed, count up + # If button 0 was pressed, count down beqz t4, not_b0 addi t0, t0, -1 not_b0: - # If button 1 was pressed, count down + # If button 1 was pressed, count up beqz t5, not_b1 addi t0, t0, 1 not_b1: @@ -113,4 +113,4 @@ digit: .byte 0b01111101 # 6 .byte 0b00000111 # 7 .byte 0b01111111 # 8 - .byte 0b01101111 # 9 \ No newline at end of file + .byte 0b01101111 # 9