diff --git a/lab3.asm b/lab3.asm index fa034804ecae3a3b2616ceafa4170e1e94d392e4..c91d9f61eddacb0290ab9e729f13aacb4b3399e3 100644 --- a/lab3.asm +++ b/lab3.asm @@ -146,27 +146,25 @@ main: strb r2, [r0] mainloop: - nop - nop - nop + wfi b mainloop -SJUSEGTAB .byte 0x3F ; ’0’ - .byte 0x06 ; ’1’ - .byte 0x5B ; ’2’ - .byte 0x4F ; ’3’ - .byte 0x66 ; ’4’ - .byte 0x6D ; ’5’ - .byte 0x7D ; ’6’ - .byte 0x07 ; ’7’ - .byte 0x7F ; ’8’ - .byte 0x6F ; ’9’ +SJUSEGTAB .byte 0xBF ; ’0.’ + .byte 0x86 ; ’1.’ + .byte 0xDB ; ’2.’ + .byte 0xCF ; ’3.' + .byte 0xE6 ; ’4.’ + .byte 0xED ; ’5.’ + .byte 0xFD ; ’6.’ + .byte 0x87 ; ’7.’ + .byte 0xFF ; ’8.’ + .byte 0xEF ; ’9.’ .align 0x100 ; Place interrupt routine for GPIO port D at an adress that ends with two zeros ;*********************************************** ;* -;* Place your interrupt routine for GPIO port D here +;* Interrupt routine for GPIO port D handles the visual representation of the clock ;* intgpiod: ;MUX @@ -225,7 +223,7 @@ moveend: ; at an adress that ends with two zeros ;********************************************** ;* -;* Place your interrupt routine for GPIO port E here +;* Interrupt routine for GPIO port E handles the mechanics of the clock ;* intgpioe: ; reset icr