MITHARG
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Doubt in WTO Macro's Executable form

Go down

Doubt in WTO Macro's Executable form Empty Doubt in WTO Macro's Executable form

Post  kasthuri Sun Jan 27, 2013 6:22 pm

Hi,

I'm learning WTO macro's executable form and tried the below simple code to display 'Hello World' message.
Code:

WTOVAR START
BALR 12,0
USING *,12
WTO MF=(E,WTOMSG)
BR 14
WTOMSG DC AL2(WTOEND-*,0)
MESSAGE DC C'HELLO WORLD'
WTOEND EQU *
END WTOVAR

I din't understand the WTOMSG contents i.e. AL2(WTOEND-*,0).
WTOEND-* is referring to which location and why is second parameter here 0?
Can anyone tell me what happened here?

kasthuri

Posts : 212
Join date : 2013-01-27

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum