Forum: Assembly Dec 16th, 2008 |
| Replies: 6 Views: 751 well it's not a problem with TASM, since TASM compiled it fine and I unassembled it in DOS and all looked fine. At first I thought it was just the original problem, with the stack not unwinding, and... |
Forum: Assembly Dec 16th, 2008 |
| Replies: 6 Views: 751 thanks, it took me awhile to figure that one out, but it's fixed now. Any idea about the access denied error if the RET is at the bottom of the procedure? |
Forum: Assembly Dec 16th, 2008 |
| Replies: 6 Views: 751 so I figured out if I pop the stack into ax at the very beginning of the procedure (the return pointer), move that value into a variable I have saved, then push it back, then at the end of the... |
Forum: Assembly Dec 15th, 2008 |
| Replies: 6 Views: 751 haaaaallllpppp :(
---moar---
okay so, I SUPPOSE I could do something like,
outp proc
jmp stprc
fnprc: ret
stprc: |
Forum: Assembly Dec 15th, 2008 |
| Replies: 3 Views: 715 I was just confused as to the use of the functions and my code was a bit buggy.
after I called ah,03h int 10h, I needed to check that dh was not equal to 24d. If it was, equal to it, I had to... |
Forum: Assembly Dec 15th, 2008 |
| Replies: 6 Views: 751 so I have this working procedure that is basically like func. 09h of int 21h except it terminates at 00h, and it uses 01h-04h as control characters that determine the style of the text.
I wrote it... |
Forum: Assembly Dec 15th, 2008 |
| Replies: 3 Views: 715 nevermind, solved without help, bitches! |
Forum: Assembly Dec 15th, 2008 |
| Replies: 3 Views: 715 Sooooo I'm writing a program that involves a lot of writing to the screen and I want to do it at bios level. Mostly because the DOS calls can't do what I want to do, and also because I'm afraid to go... |
Forum: Assembly Dec 14th, 2008 |
| Replies: 2 Views: 1,161 yeah that seems right, also, I wasn't moving dx into al, I was trying to move the address contained in dx to al, "mov al,[dx]." I tried using si instead of dx and it seemed to work. Thanks. |
Forum: Assembly Dec 11th, 2008 |
| Replies: 2 Views: 1,161 so, I want to avoid using int 21h and start working with BIOS level code. I'm trying to write something equivalent to int 21h, function 09h, using int 10h functions 09h, 03h, and 02h, except I want... |
Forum: Assembly Dec 10th, 2008 |
| Replies: 0 Views: 437 I'm trying to output a hex value and TASM won't let me use any count on rotates and shifts other than 1. If I put rol dx,1h it works fine but if I put rol dx,4h it generates an error. So I have to... |
Forum: Assembly Dec 10th, 2008 |
| Replies: 2 Views: 1,213 |
Forum: Assembly Dec 8th, 2008 |
| Replies: 2 Views: 1,213 how do I do it?
I'm trying to make a conditional jump to a label:
jz newmm
but tasm says that the relative jump is out of range by 000D bytes. How do I change this to a long jump? How can I... |
Forum: Assembly Dec 8th, 2008 |
| Replies: 11 Views: 1,319 |
Forum: Assembly Dec 8th, 2008 |
| Replies: 6 Views: 670 wat
this is pretty easy...
it's a 3 byte variable which contains a symbol (0x00CD, or a double-line similar to an equals sign used to make box-drawings in console applications), a space, and a... |
Forum: Assembly Nov 30th, 2008 |
| Replies: 6 Views: 670 |
Forum: Assembly Nov 30th, 2008 |
| Replies: 11 Views: 1,319 pardon me,
wat* do you have against void main()? |
Forum: Assembly Nov 30th, 2008 |
| Replies: 11 Views: 1,319 what do you have against void main()? |
Forum: Assembly Nov 29th, 2008 |
| Replies: 11 Views: 1,319 |
Forum: Assembly Nov 20th, 2008 |
| Replies: 3 Views: 1,373 |
Forum: Assembly Nov 17th, 2008 |
| Replies: 3 Views: 1,373 also, when I compile a .com file with tasm and assume cs:main,ds:main,ss:main,es:main, then where does the stack go? I pushed "ABCDEF ab" to the stack and I just dumped the entire segment and can't... |
Forum: Assembly Nov 17th, 2008 |
| Replies: 3 Views: 1,373 I like writing assembly in debug under command prompt in windows, mostly because I don't have to worry about compiler rules and it's a lot better for learning how the processor works more in-depth...... |
Forum: Assembly Nov 13th, 2008 |
| Replies: 0 Views: 396 I wrote a quick program into the memory using debug in an ms-dos prompt.
It should output the alphabet in uppercase, and then in lowercase, like so
... |
Forum: Assembly Nov 12th, 2008 |
| Replies: 2 Views: 838 |
Forum: Assembly Nov 6th, 2008 |
| Replies: 0 Views: 333 I'm playing with assembler trying to get it figured out and I wrote this program that was supposed to have two values, 0 and 10, and add to the 1 and subtract from the 10 and loop, each time... |
Forum: Assembly Nov 5th, 2008 |
| Replies: 1 Views: 448 Okay, so I'm well read in VB and quite an avid VB programmer but I realize that programming in visual basic isn't very marketable and above all I only use it for fun. I wanted to move to C++ but... |
Forum: Assembly Nov 5th, 2008 |
| Replies: 3 Views: 1,070 |