Feat: lab 4

This commit is contained in:
2025-03-21 03:39:25 +08:00
parent eb7b9199f6
commit a6dc454a4c
35 changed files with 833 additions and 174 deletions

View File

@@ -95,7 +95,7 @@ void uart_puts(const char *s) {
/**
* Display a binary value in hexadecimal
*/
void uart_hex(const unsigned int d) {
void uart_hex(uint64_t d) {
unsigned int n;
int c;
for(c=28;c>=0;c-=4) {