Forum: Assembly Sep 13th, 2009 |
| Replies: 22 Views: 950 Have you tried any other third party file utilities?
And did you analyze the output with a hexeditor to check if everything went right? |
Forum: Assembly Sep 10th, 2009 |
| Replies: 1 Views: 298 You mean steps a compiler goes through while compiling a program or??? |
Forum: Assembly May 31st, 2009 |
| Replies: 1 Views: 518 Arguments are pushed onto the stack before you call it, not what you're doing: call func, args
http://www.cs.lmu.edu/~ray/notes/nasmexamples/ |
Forum: Assembly May 30th, 2009 |
| Replies: 3 Views: 678 I know there's at least two on Codeproject that show up right away on Google. |
Forum: Assembly May 30th, 2009 |
| Replies: 1 Views: 458 On Windows you have to learn the PE file format, on *nix the ELF format.
Yes it is possible. Best way is to isolate the particular code into its own section, with plenty if padding space to insert... |
Forum: Assembly May 21st, 2009 |
| Replies: 16 Views: 1,317 Those 40-pin DIPs are behemoths! You could break your back, trying to lift one.
Why exactly is it so difficult? |
Forum: Assembly May 20th, 2009 |
| Replies: 5 Views: 759 http://www.codeproject.com/KB/cpp/gccasm.aspx
In VC++'s assembler you wrap variables with [], __asm { add [name.variable], value }
With pointers __asm { mov type ptr [name], value }
Learn to... |
Forum: Assembly May 19th, 2009 |
| Replies: 5 Views: 759 I don't believe the second part of shr can be a register.... |
Forum: Assembly May 19th, 2009 |
| Replies: 5 Views: 759 It's generally easier to use the inline assembler, unless you're in VC++(GCC's is far superior). |
Forum: Assembly May 16th, 2009 |
| Replies: 3 Views: 1,060 What's the point of all those prntst# functions?... |
Forum: Assembly May 14th, 2009 |
| Replies: 3 Views: 585 Read your processor manual. |
Forum: Assembly May 5th, 2009 |
| Replies: 2 Views: 428 We have a section here to post your code.
What assembler did you use? I'll try playing it later. |
Forum: Assembly May 4th, 2009 |
| Replies: 1 Views: 331 1*1 is 1...
Besides, we don't do homework. |
Forum: Assembly May 4th, 2009 |
| Replies: 6 Views: 448 Or with the handle just use WriteConsole() http://www.daniweb.com/code/snippet1165.html Doesn't really matter. |
Forum: Assembly Apr 29th, 2009 |
| Replies: 8 Views: 800 Was this the same computer, such as a dual boot?
As sysop_fb said, "Is it the same machine-arch?" |
Forum: Assembly Apr 10th, 2009 |
| Replies: 12 Views: 1,356 Dev-C++ is an IDE, not a compiler. |
Forum: Assembly Apr 10th, 2009 |
| Replies: 16 Views: 13,280 Lets take a look at a simple MASM32 program. Avoided invoke and macros for clarity.
.386
.model flat, stdcall
MessageBoxA PROTO :DWORD,:DWORD,:DWORD,:DWORD
ExitProcess PROTO :DWORD
... |
Forum: Assembly Mar 29th, 2009 |
| Replies: 1 Views: 280 If you're writing drivers and crap for a CNC or something, then you could cost a business millions.
Two ways that might cause damage to a PC style computer: wrong BIOS call to a device erasing... |
Forum: Assembly Mar 9th, 2009 |
| Replies: 3 Views: 905 It usually takes more than 3 hours to get an answer in the Assembly forum.
What sort of output do you get, did you follow the values with a debugger or by printing them to the screen(I'm to lazy to... |
Forum: Assembly Mar 9th, 2009 |
| Replies: 1 Views: 740 An example might be: http://www.kvack.org/~bcrl/xmm64.c |
Forum: Assembly Mar 6th, 2009 |
| Replies: 1 Views: 452 The current Masm32 has a million examples packed with it. |
Forum: Assembly Feb 2nd, 2009 |
| Replies: 2 Views: 570 You're converting the whole number of to dec, there's a "pair" of characters in there. |
Forum: Assembly Dec 12th, 2008 |
| Replies: 1 Views: 851 I have a sweet EOR trick for flipping cases, but what do you have so far? |
Forum: Assembly Dec 7th, 2008 |
| Replies: 7 Views: 763 You're telling it to compare two elements away from the first one, being the third one not the second one.
http://www.geocities.com/SiliconValley/Park/3230/x86asm/asml1012.html |
Forum: Assembly Dec 7th, 2008 |
| Replies: 1 Views: 1,886 Try a test setting the file attribute-CX to 1, for read-only, and see if CF is set then. |
Forum: Assembly Dec 7th, 2008 |
| Replies: 6 Views: 1,035 Not to be nit-picky, but void really don't have a "return".
And since maxInt never really had an input, perhaps there should
be two functions since maxInt just checks the comparisons.
bool... |