flat assembler
Message board for the users of flat assembler.
Index
> Main > strncpy? |
Author |
|
thecf 05 Jan 2007, 18:01
esi = 'somefile.bin'
how can i remove the last four bytes from esi so it reads 'somefile'? |
|||
05 Jan 2007, 18:01 |
|
f0dder 06 Jan 2007, 07:44
Code: mov byte [esi+8], 0 |
|||
06 Jan 2007, 07:44 |
|
rugxulo 06 Jan 2007, 18:00
Heh, f0dder, you read our minds.
|
|||
06 Jan 2007, 18:00 |
|
f0dder 07 Jan 2007, 15:03
...of course what the original poster probably wants is a routine to split a path into {path}{filename}{extension} components, but hey -
|
|||
07 Jan 2007, 15:03 |
|
LocoDelAssembly 07 Jan 2007, 15:12
The original poster keeps quiet so we still don't know if f0dder solution (which I was very tempted to post too ) or my solution fits his needs.
|
|||
07 Jan 2007, 15:12 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.