re: [ASM] Tiny Program :P
i beat it but ur not online on msn -__-
re: [ASM] Tiny Program :P
Yes i am, and you're not blocked, so dunno why you aren't seeing me
re: [ASM] Tiny Program :P
Re: [ASM] Tiny Program :P
Yum, the wonderful world of 16-bit ASM programming :D, I should continue learning it...especially with all those interrupts, I keep forgetting which is which and their parameters hehe. Beside that, 16-bit is old and it might be better to focus on 32-bit...but it's still fun ;)
Re: [ASM] Tiny Program :P
Re: [ASM] Tiny Program :P
debug.exe only supports 16 bit :P
---------- Post added at 05:27 PM ---------- Previous post was at 05:20 PM ----------
but as a bonus, here's how to shade it nicely too :P
0BC5:0100 mov ax,13
0BC5:0103 int 10
0BC5:0105 mov ax,a000
0BC5:0108 mov ds,ax
0BC5:010A xor di,di
0BC5:010C xor ax,ax
0BC5:010E xor bx,bx
0BC5:0110 mov dx,bx
0BC5:0112 and dx,ax
0BC5:0114 mov [di],dl
0BC5:0116 inc di
0BC5:0117 inc bx
0BC5:0118 cmp bx,13f
0BC5:011C jna 110
0BC5:011E inc ax
0BC5:011F cmp ax,c7
0BC5:0122 jna 10e
0BC5:0124 xor ax,ax
0BC5:0126 mov dx,3c8
0BC5:0129 out dx,al
0BC5:012A inc dx
0BC5:012B out dx,al
0BC5:012C xor al,ff
0BC5:012E out dx,al
0BC5:012F xor al,ff
0BC5:0131 out dx,al
0BC5:0132 inc al
0BC5:0134 jnz 12b
0BC5:0136 int 16
0BC5:0138 mov ax,3
0BC5:013B int 10
0BC5:013D int 20
0BC5:013F
-r cx
CX 002F
:3f
-w
Writing 0003F bytes
...It's up to 63 bytes tho :)
06/20/2010 05:27 PM 63 A.COM
Re: [ASM] Tiny Program :P
wow ASM is so confusing compared to java or c++.
Re: [ASM] Tiny Program :P
Omg it's ASM.
The most confusing programming language I have encountered in my life.
Re: [ASM] Tiny Program :P
Re: [ASM] Tiny Program :P
Quote:
Originally Posted by
Carrino
Omg it's ASM.
The most confusing programming language I have encountered in my life.
Try developing in binary. ;)
Also, a screenie would be nice.
2 Attachment(s)
Re: [ASM] Tiny Program :P
Ok, here's links to screen captures...
The unshaded one:
http://millionairemindseminars.com/Capture1.PNG
The shaded one:
http://millionairemindseminars.com/Capture2.PNG
...Then you can sign up for a millionaire mind seminar afterwards :P