Go Back   Exetools > General > Source Code


Thread Tools Display Modes
Old 04-15-2018, 12:14
dosprog dosprog is offline
Join Date: Feb 2018
Posts: 103
Rept. Given: 0
Rept. Rcvd 15 Times in 14 Posts
Thanks Given: 31
Thanks Rcvd at 140 Times in 70 Posts
dosprog Reputation: 15
[ASM] Helper function for type inline static messages

This is a WIN32 example of printing static messages, the lines of which are located directly in the code behind the call of the printing procedure.
This is an old style, widely used in DOS-programs.

Example of usage:
call msg_out
db 'Printed by msg_out PROC',0Dh,0Ah ,0

call msg_out
db 'Press key...',0Dh,0Ah ,0

call wait_key

call msg_box
db 'Testing of msg_box PROC:' ,0
db 'Printed by msg_box PROC',0Dh,0Ah ,0
Attached Files
File Type: rar MSG_OUT.RAR (3.1 KB, 4 views)

Last edited by dosprog; 04-15-2018 at 12:21.
Reply With Quote
The Following User Says Thank You to dosprog For This Useful Post:
wilson bibe (04-15-2018)

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[C] Helper function to call arbitrary x86 Delphi functions zeffy Source Code 0 04-13-2018 10:25

All times are GMT +8. The time now is 23:35.

Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2022 )