flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > Monitor /Mwait instructions SSE3 |
Author |
|
hopcode 12 Jan 2010, 22:23
simple question, while coding 0F opcodes:
according this Intel example http://software.intel.com/en-us/articles/how-to-use-the-monitor-and-mwait-streaming-simd-extensions-3-instructions/ MONITOR EAX,ECX,EDX MWAIT EAX,ECX But in the docs (A-M) instruction ref, there is no register quoted, also i thought they should be implicit. Should not be the syntax simply MONITOR MWAIT Cheers, hopcode |
|||
12 Jan 2010, 22:23 |
|
revolution 12 Jan 2010, 22:34
The example given in the MWAIT description (253666-031, A-M June 2009) shows the syntax with registers given explicitly.
|
|||
12 Jan 2010, 22:34 |
|
LocoDelAssembly 12 Jan 2010, 23:02
revolution, I've just realized I have exactly the manual you mention, but where did you see the explicit registers?
I only have this: Quote: Opcode Instruction 64-Bit [edit] Here I found the documentation on-line: *MWAIT *MONITOR In both cases the operands are explicit. [edit2]But those links point to old documentation, 64-bit is not mentioned there. |
|||
12 Jan 2010, 23:02 |
|
hopcode 12 Jan 2010, 23:25
oops
i have 253666-030US March 2009 and fasm 1-69.02 thanks for so fast answering !!! (i am almost in test-phase with my new "cannot-resize-it-to-fit-512byte-LDE." i will publish it on half february...and your tests are really welcomed.) Greetings hopcode |
|||
12 Jan 2010, 23:25 |
|
revolution 13 Jan 2010, 00:29
LocoDelAssembly wrote: revolution, I've just realized I have exactly the manual you mention, but where did you see the explicit registers? |
|||
13 Jan 2010, 00:29 |
|
LocoDelAssembly 13 Jan 2010, 00:35
Oh yeah, I skipped it because I thought it was plain pseudo-code:
Code: EAX = Logical Address(Trigger) ECX = 0 (*Hints *) EDX = 0 (* Hints *) IF ( !trigger_store_happened) { MONITOR EAX, ECX, EDX IF ( !trigger_store_happened ) { MWAIT EAX, ECX } } |
|||
13 Jan 2010, 00:35 |
|
MazeGen 13 Jan 2010, 10:34
|
|||
13 Jan 2010, 10:34 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.