Forum: Assembly Sep 15th, 2009 |
| Replies: 5 Views: 329 > what is the value 0012FFC4 pointed to by ESP stands for?
0012FFC4 is a memory address - ESP (SP being Stack Pointer)
[ESP] is the contents of that address.
In C terms, it's
int *esp;
esp... |
Forum: Assembly Sep 15th, 2009 |
| Replies: 4 Views: 463 I agree with wildgoose, this stands a good chance of being a local hardware problem.
Try the emulator with known good hardware.
Are there any advanced diagnostics for the probe, more than what... |
Forum: Assembly Sep 15th, 2009 |
| Replies: 5 Views: 329 You haven't actually executed the pop ebp yet, so of course it has the old value. |
Forum: Assembly Sep 15th, 2009 |
| Replies: 4 Views: 463 Have you asked Nohau for support?
These bits of kit are not exactly cheap, so it's worth investing in the support which comes with them. |
Forum: Assembly Aug 24th, 2009 |
| Replies: 11 Views: 888 I can't help you any more without giving you the answer on a plate. |
Forum: Assembly Aug 23rd, 2009 |
| Replies: 11 Views: 888 http://en.wikipedia.org/wiki/Newton%27s_method |
Forum: Assembly Aug 23rd, 2009 |
| Replies: 11 Views: 888 > the only ones I came upon requires me to split the number being rooted by 2's. Not possible.
Are there more restrictions on the answer that you're not telling us?
What does "split the number... |
Forum: Assembly Aug 23rd, 2009 |
| Replies: 11 Views: 888 > how do you do a square root in MIPS?
Same as anywhere else, assuming you lack a library to do it
- research algorithms (you've got google, do some searches)
- write code
- test code |
Forum: Assembly Aug 21st, 2009 |
| Replies: 8 Views: 523 Aww, and I was hoping they might have to figure out the sub al,'0' thing for themselves.... |
Forum: Assembly Aug 21st, 2009 |
| Replies: 8 Views: 523 mov ah,1h ; input number
int 21h
mov dl,0ah
The result is returned in al
http://www.ctyme.com/intr/rb-2552.htm |
Forum: Assembly Jul 24th, 2009 |
| Replies: 4 Views: 490 Google much?
http://clusty.com/search?query=processor+identification+asm+code&sourceid=Mozilla-search |
Forum: Assembly Jul 19th, 2009 |
| Replies: 16 Views: 1,105 My question is, why are you still using fossil-ware?
I mean, how many Gigs of (processor speed, memory, hard disk) do you have?
A whole football field to play in, and you're still scribbling on... |
Forum: Assembly Jun 29th, 2009 |
| Replies: 4 Views: 939 - format integer as a string in some memory buffer
- measure it's length
- output 8-len spaces
- output buffer |
Forum: Assembly Jun 26th, 2009 |
| Replies: 4 Views: 406 OK, so it's just divide and conquer to move from something which works, to something which doesn't.
li $v0, 5
syscall
Does this actually return an integer result in a register?
Or did it assume... |
Forum: Assembly Jun 26th, 2009 |
| Replies: 4 Views: 406 Have you tested the installation, by writing the "hello world" program?
A simple print string and halt. |
Forum: Assembly Jun 4th, 2009 |
| Replies: 6 Views: 458 Goto www.rentacoder.com and offer someone some money then.
Frankly, if you're not here to learn, you're in the wrong place. |
Forum: Assembly Jun 4th, 2009 |
| Replies: 6 Views: 458 > Because I don't know how to write assembly code.
And then what?
After "we're" done writing it, "you" still won't know how to write assembly code.
> Make a data file named "datafile.txt" with... |
Forum: Assembly May 23rd, 2009 |
| Replies: 3 Views: 752 Find the manual for an ARM C compiler.
Look up "calling conventions" |
Forum: Assembly May 22nd, 2009 |
| Replies: 16 Views: 1,383 > I need real code if you have such ?
You seem to be confusing "need" with "want".
Spoon-fed answer on a plate is what you "want", so you can bugger off for the weekend chasing MOTAS.
What... |
Forum: Assembly May 22nd, 2009 |
| Replies: 16 Views: 1,383 Why is it "not so simple"?
> I must build 3 levels that like beginer,advanced,and expert each level have 5/10/15 mines
This is a minor detail. Once you've done all the hard work of displaying a... |
Forum: Assembly May 22nd, 2009 |
| Replies: 16 Views: 1,383 > We use a kind of already made hardware with 8051 so I can't change it
Yeah, but that doesn't tell ME what sort of display and input it has.
Presumably, one would have some visual indication of... |
Forum: Assembly May 22nd, 2009 |
| Replies: 16 Views: 1,383 So do you know how to write it in C, or another language of your choice?
An 8051 is pretty ancient, what sort of "display" and "input" do you have? |
Forum: Assembly May 21st, 2009 |
| Replies: 16 Views: 1,383 http://www.daniweb.com/forums/announcement125-2.html
30+ posts, and you still don't know this?
> I must make it for may classwork but it's too heavy for me
Did you try, or just give up? |
Forum: Assembly May 17th, 2009 |
| Replies: 8 Views: 675 "me too" had better read the forum rules as well.
http://www.daniweb.com/forums/announcement125-2.html
If you can't be arsed to put in any more effort than bumping your own message after an hour,... |
Forum: Assembly May 15th, 2009 |
| Replies: 8 Views: 675 > Note: You can use Irvine library to read or write string
I'm guessing you know more about this than we do.
I'm also guessing that this is NOT your first assembler homework, so perhaps some... |
Forum: Assembly May 15th, 2009 |
| Replies: 8 Views: 675 Did you miss this on your way in?
http://www.daniweb.com/forums/announcement125-2.html
> i need it in sunday
Looks like you've got a busy weekend ahead of you. I know I have. |
Forum: Assembly May 15th, 2009 |
| Replies: 4 Views: 559 But gcc can't create com files even when it is hosted on WinDos, nevermind when it's hosted on Linux.
Do you have a separate assembler, say nasm? |
Forum: Assembly May 13th, 2009 |
| Replies: 1 Views: 1,278 Read the rules, we don't give you code just because you managed to cobble together some buzz-words in the hope that it looks like effort. |
Forum: Assembly May 11th, 2009 |
| Replies: 4 Views: 559 > What do you think is wrong?
Is your compiler a real DOS compiler?
Is your real OS really DOS? |
Forum: Assembly May 10th, 2009 |
| Replies: 1 Views: 313 What do you think the result will be?
Nevermind, the answer is 42. |
Forum: Assembly May 10th, 2009 |
| Replies: 6 Views: 359 > and outputs a message if theres a carry over
So you do the add, look at some flags, make a decision. |
Forum: Assembly May 10th, 2009 |
| Replies: 6 Views: 359 Well the 'problem' is that the code you posted doesn't look at all like x86 assembler.
I found something called BEP/16, but is that relevant? |
Forum: Assembly May 10th, 2009 |
| Replies: 6 Views: 359 Do you want us to guess which processor and host OS you're using? |
Forum: Assembly May 3rd, 2009 |
| Replies: 4 Views: 465 > Q1. Write ....
> Q2. Write ....
Now, tell me once again how your demands equate to you putting in some effort, and not expecting to be spoon-fed an answer. |
Forum: Assembly May 3rd, 2009 |
| Replies: 14 Views: 9,687 Apart from hijacking a dead thread, what's your question?
Find a compiler which targets the ASM you want, and follow the instructions earlier in the thread. |
Forum: Assembly May 2nd, 2009 |
| Replies: 8 Views: 821 Is that the tolling of the bell marking the end of DOS support I hear ringing?
About time if it is. |
Forum: Assembly May 2nd, 2009 |
| Replies: 4 Views: 465 Good for you.
Now YOU go and read the forum rules, and post some actual effort, instead of just dumping your homework on us. |
Forum: Assembly Apr 30th, 2009 |
| Replies: 8 Views: 821 All the same, until you post the code, expect waffle, or nothing. |
Forum: Assembly Mar 4th, 2009 |
| Replies: 7 Views: 639 What does atod do?
Does it return a result, and if so, how?
Are you comparing with that result? |
Forum: Assembly Mar 4th, 2009 |
| Replies: 7 Views: 639 > cmp grades , 0
You're comparing the function address itself with 0, not the result it returned in the previous line. |