sample_nickname
sample_nickname

Reputation: 301

String print function x86 Assembly

I want to create a function in x86 assembly that can take any given string (of any length) and print it out to DOS video memory to be printed out on screen. I have managed to do something like this but only for a specified length (e.g. a whole extended register). Any help?

Upvotes: 0

Views: 860

Answers (1)

Brian Knoblauch
Brian Knoblauch

Reputation: 21409

You'll need to pick a delimiter and then print up to that delimiter (instead of just using a count). Should be pretty straightforward for you if you can already do it by count.

Upvotes: 1

Related Questions