flat assembler
Message board for the users of flat assembler.
![]() |
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! |
|||
![]() |
|
typedef 10 May 2012, 01:06
![]() Last edited by typedef on 10 May 2012, 01:13; edited 2 times in total |
|||
![]() |
|
revolution 10 May 2012, 01:08
Like this is one way:
Code: rep fs movsd |
|||
![]() |
|
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. |
|||
![]() |
|
Tomasz Grysztar 10 May 2012, 08:50
revolution wrote: Like this is one way: |
|||
![]() |
|
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! |
|||
![]() |
|
revolution 10 May 2012, 12:24
The manual show an SS override:
Code: movs word [es:di],[ss:si] ; transfer word |
|||
![]() |
|
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. |
|||
![]() |
|
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. |
|||
![]() |
|
revolution 09 Jun 2012, 14:04
bitshifter wrote: Seems like mov m16/m16 which i thought doesnt exist. |
|||
![]() |
|
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. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.