dos33fsprogs/demos/hellmood_memories/mul_test.c
Vince Weaver e0febd1a90 demos: more work
keep making git mistakes urgh
2021-01-05 22:52:10 -05:00

26 lines
327 B
C

#include <stdio.h>
int main(int argc, char **argv) {
unsigned int m1,m2;
m1=0x1;
m2=0x1;
printf("%x * %x = %x\n",m1,m2,m1*m2);
m1=0x1;
m2=0xff;
printf("%x * %x = %x\n",m1,m2,m1*m2);
m1=0xff;
m2=0x1;
printf("%x * %x = %x\n",m1,m2,m1*m2);
m1=0xff;
m2=0xff;
printf("%x * %x = %x\n",m1,m2,m1*m2);
return 0;
}