change KB to KiB

This commit is contained in:
sejo 2024-03-14 19:17:49 +01:00
parent 9f665ff709
commit a339bd307c
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ when we use 8 bits, we can represent 256 different values (2 to the power of 8).
in the previous section, we talked about a case where this amount is not enough in uxn: the number of bytes that the main memory holds, 65536.
that number corresponds to the values that can be represented using two bytes, or 16 bits, or a "short": 2 to the power of 16. that quantity is also known as 64KB, where 1KB corresponds to 1024 or 2 to the power of 10.
that number corresponds to the values that can be represented using two bytes, or 16 bits, or a "short": 2 to the power of 16. that quantity is also known as 64KiB, where 1KiB corresponds to 1024 or 2 to the power of 10.
besides expressing addresses in main memory, today we will see another case where 256 values is not always enough: the x and y coordinates for the pixels in our screen.