vc3-2023 Christmas Challenge by MrK Author: MrKalach Category: Christmas Challenge System: IBM-PC, MS-DOS Language: Assembler x86, 16bit code, FASM Len source code: 1420 Len exe file: 60 Len code only: 408 bytes, without comments Instructions: Can be run on next: - real HW, with any MS-DOS >= 4.0 - DosBox any version Just copy "vc_2023.com" to your MS-DOS/DosBox system and run. Description: Initially I implemented the algo in Python, next snippet shows the algo: def check(x:int, y:int) -> bool: m = 6 a = (x + 3) % m == y % m b = (33 - x) % m == y % m return a or b After that I just ported it to asm, see comments in source file Comments: Great competition :)