flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
madmatt
Little question here, how would I do this
Code: rep movsd fs: _________________ Gimme a sledge hammer! I'LL FIX IT! |
|||
![]() |
|
typedef
![]() Last edited by typedef on 10 May 2012, 01:13; edited 2 times in total |
|||
![]() |
|
revolution
Like this is one way:
Code: rep fs movsd |
|||
![]() |
|
madmatt
revolution wrote: Like this is one way: Allright, yeh, I was using the colon. Quote: typedef: ![]() _________________ Gimme a sledge hammer! I'LL FIX IT! |
|||
![]() |
|
Tomasz Grysztar
revolution wrote: Like this is one way: |
|||
![]() |
|
madmatt
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
The manual show an SS override:
Code: movs word [es:di],[ss:si] ; transfer word |
|||
![]() |
|
Tomasz Grysztar
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
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
bitshifter wrote: Seems like mov m16/m16 which i thought doesnt exist. |
|||
![]() |
|
edfed
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-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.