![]() |
|
|
#34 | |
|
Jun 2003
23·683 Posts |
Quote:
|
|
|
|
|
|
|
#35 |
|
∂2ω=0
Sep 2002
República de California
22×2,939 Posts |
Ah - misread your note the first time around ... and a little more diggong resolves the mystery...
Note that I only actually use the + (register-add) form in my functional macros. After getting those working to make sure the [ecx+edi] - style addressing format worked, I wrote a simple one-line test macro to see if the minus form also worked. That compiled without complaint, so I assumed it did. When I look at the assembler output and search for the minus-form test macro, it does not appear, apparently since it is not used. When I actually inlined it in some code just now, I did in fact get a compile error: error C2425: '-' : non-constant expression in 'second operand' So one would in fact need to do an explicit negation to effect such an address computation. Analogously, when I try to inline a non-power-of-2 scale factor like [ecx+5*edi], the compiler gives error C2423: '5' : illegal scale Last fiddled with by ewmayer on 2010-10-18 at 22:37 |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PauseWhileRunning and running as admin [Win7] | ixfd64 | Software | 8 | 2016-03-14 01:17 |
| Query - Running GIMPS on a 4 way system | Unregistered | Hardware | 6 | 2005-07-04 04:27 |
| Torture Test - System running processor very low compared to other systems | DougTheSlug | Hardware | 5 | 2005-01-27 09:51 |
| Running prime95 and NFSNET together on a HT enabled system | TauCeti | NFSNET Discussion | 1 | 2003-07-02 16:26 |
| How long has your system been running without a reset? | Gary Edstrom | Lounge | 14 | 2003-06-28 15:00 |