flat assembler
Message board for the users of flat assembler.
Index
> Main > How would I do this: "rep movsd fs:" |
Author |
|
madmatt 10 May 2012, 00:14
Little question here, how would I do this
Code: rep movsd fs: _________________ Gimme a sledge hammer! I'LL FIX IT! |
|||
10 May 2012, 00:14 |
|
typedef 10 May 2012, 01:06
...
Last edited by typedef on 10 May 2012, 01:13; edited 2 times in total |
|||
10 May 2012, 01:06 |
|
revolution 10 May 2012, 01:08
Like this is one way:
Code: rep fs movsd |
|||
10 May 2012, 01:08 |
|
typedef 10 May 2012, 01:50
madmatt wrote:
I wrote this typedef wrote:
and I thought it was harsh and you'd seen the post so I edited my post. Sorry for that. |
|||
10 May 2012, 01:50 |
|
Tomasz Grysztar 10 May 2012, 08:50
revolution wrote: Like this is one way: |
|||
10 May 2012, 08:50 |
|
madmatt 10 May 2012, 12:20
Tomasz Grysztar wrote:
I don't see anything about a segment override though, just this Code: movsd ; transfer double word _________________ Gimme a sledge hammer! I'LL FIX IT! |
|||
10 May 2012, 12:20 |
|
revolution 10 May 2012, 12:24
The manual show an SS override:
Code: movs word [es:di],[ss:si] ; transfer word |
|||
10 May 2012, 12:24 |
|
Tomasz Grysztar 10 May 2012, 12:47
section 2.1.8 wrote: Full form of string operation needs operands providing the size operator and the memory addresses, which can be SI or ESI with any segment prefix, DI or EDI always with ES segment prefix. |
|||
10 May 2012, 12:47 |
|
bitshifter 09 Jun 2012, 13:54
revolution wrote: The manual show an SS override: Hmm, now you got my attention... I am studying opcoding myself here. Seems like mov m16/m16 which i thought doesnt exist. Now i need to figure it out for myself by decoding... PS: Hello to my fasm friends, i have been idle for quite some time _________________ Coding a 3D game engine with fasm is like trying to eat an elephant, you just have to keep focused and take it one 'byte' at a time. |
|||
09 Jun 2012, 13:54 |
|
revolution 09 Jun 2012, 14:04
bitshifter wrote: Seems like mov m16/m16 which i thought doesnt exist. |
|||
09 Jun 2012, 14:04 |
|
edfed 09 Jun 2012, 14:39
very good information. i remember it is evocated somewhere in fasm manual, but it is not highlighted that much.
i wonder if that a generic segment override applyable to every string operations that way. |
|||
09 Jun 2012, 14:39 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.