xeleh_pc_x86assembler_65b_vc3-2025
Author: Xeleh
Category: Christmas Challenge
System: IBM PC or compatible
Language: x86 Assembler, NASM
Len source code:
Len exe file: 65 bytes
Len code only:
Instructions:
Tested on DOSBox-X, it should work also on DOSBox.
Description:
A determinant is calculated for each location of the 19x19 object area with a simple formula (row^2 + column^2). To accomplish simmetry, rows and columns go from -9 to 9.
For each location a '*' char is printed only if:
- row is zero or column is zero (central lines)
- determinant value is found on a lookup table
And that's it.
Comments:
Thanks again for organizing the challenge, Logiker. It makes the perfect excuse to craft a little bit of assembly code once a year! :)