Exetools  

Go Back   Exetools > General > Source Code

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 04-15-2018, 12:14
dosprog dosprog is offline
Friend
 
Join Date: Feb 2018
Posts: 114
Rept. Given: 0
Rept. Rcvd 17 Times in 16 Posts
Thanks Given: 33
Thanks Rcvd at 146 Times in 74 Posts
dosprog Reputation: 17
[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:
Quote:
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, 5 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)
Reply

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 19:02.


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