flat assembler
Message board for the users of flat assembler.

Index > Main > write to massive?

Author
Thread Post new topic Reply to topic
chooka



Joined: 14 Apr 2006
Posts: 2
chooka
Question: how to write down in 9 bytes of a massive from 9 bytes a variable of the sizes in byte?
Post 14 Apr 2006, 05:29
View user's profile Send private message ICQ Number Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1608
Location: Ukraine
shoorick
mov edi,massive
mov esi,variable
mov ecx,9
rep movsb
Post 14 Apr 2006, 06:58
View user's profile Send private message Visit poster's website Reply with quote
moriman



Joined: 01 Apr 2006
Posts: 55
Location: Northern Ireland
moriman
or to be on the safe side...

cld
mov edi,massive
mov esi,variable
mov ecx,9
rep movsb
Post 14 Apr 2006, 20:44
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.