Page 1 of 1
Using equated value as operand for MVC?
Posted: Mon Jun 08, 2015 8:25 am
by bizzy007
Hi,
Can we use an equated value operand for an MVC instruction? If we do use it, can there be some error because of this?
Re: Using euated value as operand for MVC?
Posted: Mon Jun 08, 2015 8:32 am
by Robert Sample
Can you provide an example of what you mean?
uses EQU symbols R04 and R08 so obviously MVC supports equated symbols.
Re: Using euated value as operand for MVC?
Posted: Mon Jun 08, 2015 8:44 am
by enrico-sorichetti
Can we use an equated value operand for an MVC instruction? If we do use it, can there be some error because of this?
unless the TS asked for the address,length form of the equate
Code: Select all
Symbol Type Id Address Length Owner Id Flags Alias-of
MAIN SD 00000001 00000000 00000020 00
Active Usings: None
Loc Object Code Addr1 Addr2 Stmt Source Statement
000000 00000 00020 1 MAIN CSECT
R:C 00000 2 USING MAIN,12
000000 D203 C010 C018 00010 00018 3 MVC A,B
000006 D207 C010 C018 00010 00018 4 MVC A1,B
000010 5 DS 0D
000010 6 A DS CL4
000014 7 DS CL4
000018 8 B DS CL8
00010 00008 9 A1 EQU A,8
10 END
Ordinary Symbol and Literal Cross Reference
Symbol Length Value Id R Type Asm Program Defn References
A 4 00000010 00000001 C C 6 3M 9
A1 8 00000010 00000001 U 9 4M
B 8 00000018 00000001 C C 8 3 4
MAIN 1 00000000 00000001 J 1 2U