flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
donn 05 Dec 2010, 01:49
Hi just wondering how to be able to print a strings length to a console. Using scas and printf. I was able to print immediate values, but having a little difficulty passing rcx(?)'s value to printf. I attached some code that prints a value of '6293840'' to the screen. I tried setting up the trailing zero but this string length number is getting all garbled. Just trying to get familiar with using scas.
Ok everyone, Denat
|
|||||||||||
![]() |
|
donn 10 Jan 2011, 22:59
Hi, I dont know at all if this is the file I was editing before (the newest version), but I definitely got some results I was hoping for. This file may not be up to date, but I attached some file that I think got it to work, according to what you pointed out. Have to pass rsi the address.. I havent gotten that rule completely figured out yet...
Thanks a lot, Denat [Solved]
|
|||||||||||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.