This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; Rock, paper, scissors in MASM x86 | |
| ; setghm 2025 | |
| ; Macro for print a data string. | |
| prints macro str | |
| lea dx, str | |
| mov ah, 9h | |
| int 21h | |
| endm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Print your external IP address on the command line in windows. | |
| * | |
| * By Set HM 2025. | |
| */ | |
| #define WIN32_LEAN_AND_MEAN | |
| #include <stdio.h> | |
| #include <string.h> | |
| #include <stdlib.h> |