Anonymous user
C--: Difference between revisions
→Examples
[unchecked revision] | [unchecked revision] |
Line 70:
//
ESBYTE[0x1b8005]= 127;
byte x;
word y;
dword z;
#define THIS_A_DEFINITION 123
void PRINTF()
{
BX = 0x0007;
$ PUSH SI
SI = AX;
AH = 0xE;
UP:
$ LODSB
$ CMP AL,0
$ JZ DOWN
$ INT 0x10
$ JMP SHORT UP
DOWN:
$ POP SI
}
These snippets may seem a bit spaghetti code, but not because of some language defficiency but because I didn't look very far for them snippets.
|