@tkchia

16 Followers
8 Following
1 Posts
😴 "MOV AX,​0D500H​+CMOS_REG_D​+NMI" • https://codeberg.org/tkchia • also at https://uwu.social/@tkchia
LocationAsia

#include <stdio.h>
#include <stdlib.h>

int
main (void)
{
const unsigned char t[]
= {
#embed __FILE__ limit (128) /* C23 */
, 0, 0, 0, 0, 0, 0, 0
};
size_t s = 0, i = 0;
while (i != sizeof (t) / 8)
{
s += (size_t) t[8 * i + 0] + (size_t) t[8 * i + 1]
+ (size_t) t[8 * i + 2] + (size_t) t[8 * i + 3]
+ (size_t) t[8 * i + 4] + (size_t) t[8 * i + 5]
+ (size_t) t[8 * i + 6] + (size_t) t[8 * i + 7];
++i;
}
printf ("%#zx\n", s);
return 0;
}