pseudo instructions



High Level Assembler(HLASM) for MVS & VM & VSE

pseudo instructions

Postby ramachandran » Sun Jan 11, 2009 7:32 pm

what are the pseudo instructions available in assembler?
ramachandran
 
Posts: 1
Joined: Sun Jan 11, 2009 7:24 pm
Has thanked: 0 time
Been thanked: 0 time

Re: pseudo instructions

 

Re: pseudo instructions

Postby William Thompson » Mon Jan 12, 2009 6:02 am

ramachandran wrote:what are the pseudo instructions available in assembler?
I waited to see if anybody had any idea of what you meant by "pseudo instructions", but I guess everybody else is just a mystified as I am.......

Try again, are you referring to the "PLx" stuff the supervisor/nuclease is coded in? Or just macros?
William Thompson
 
Posts: 86
Joined: Sat Jun 09, 2007 4:24 am
Location: Tucson AZ
Has thanked: 0 time
Been thanked: 1 time

Re: pseudo instructions

Postby dick scherrer » Mon Jan 12, 2009 7:45 am

Hello and welcome to the forum,

Might you mean macro instructions rather than pseudo?

Pseudo-code/instructions are often used to demonstrate logic so that something may explained rather than implemented in some specific instruction set.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: pseudo instructions

Postby hlasm1 » Wed Feb 18, 2009 8:41 pm

EQU is an example of pseudo instruction in assembler. Pseudo instructions are never categorised as RR,RX,RS,SS1,SS2,Si instructions. Pseudo instructions do not occupy memory like A,AR and so on.
hlasm1
 
Posts: 1
Joined: Wed Feb 18, 2009 8:25 pm
Has thanked: 0 time
Been thanked: 0 time

Re: pseudo instructions

Postby dick scherrer » Thu Feb 19, 2009 1:34 am

Hello and welcome to the forum,

I believe the term you are describing is a pseudo-operation:
A pseudo-operation, commonly called a pseudo-op, is an instruction to the assembler that does not generate any machine code. The assembler resolves pseudo-ops during assembly, unlike machine instructions, which are resolved only at runtime. Pseudo-ops are sometimes called assembler instructions, assembler operators, or assembler directives.


Additonal info is available here:
http://www.nersc.gov/vendor_docs/ibm/as ... _ovrvw.htm
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: pseudo instructions

Postby billyy2288 » Thu Sep 16, 2010 9:39 am

dick scherrer wrote:Hello and welcome to the forum,

I believe the term you are describing is a pseudo-operation:
A pseudo-operation, commonly called a pseudo-op, is an instruction to the assembler that does not generate any machine code. The assembler resolves pseudo-ops during assembly, unlike machine instructions, which are resolved only at runtime. Pseudo-ops are sometimes called assembler instructions, assembler operators, or assembler directives.


Additonal info is available here:
http://www.nersc.gov/vendor_docs/ibm/as ... _ovrvw.htm


Such a very amazing link!
[url=http://moviesonlinefree.biz]Watch The Town Online Free[/url]
billyy2288
 
Posts: 1
Joined: Thu Sep 16, 2010 9:33 am
Has thanked: 0 time
Been thanked: 0 time

Re: pseudo instructions

Postby steve-myers » Thu Sep 16, 2010 10:48 am

The HLASM Language Reference does not use either term "pseudo operation" or "pseudo instruction." I must admit I was surprised! HLASM calls them "assembler instructions," and defines several types. Taken as a generic, a "pseudo operation," "pseudo instruction, or "assembler instruction" refers to Assembler code that appear to be a machine code but serve other purposes. Many Assemblers have a REM pseudo instruction to define a comment, but HLASM does not define such an animal in the manual.
  • Program control - AINSERT, CNOP, COPY, END, EXITCTL, ICTL, ISEQ, LTORG, ORG, POP, PUNCH, PUSH, and REPRO.
  • Listing control - CEJECT, EJECT, PRINT, SPACE and TITLE.
  • Operation code definition - OPSYN
  • Program section and linking - ALIAS, AMODE, CATTR, COM, CSECT, CXD, DSECT, DXD, ENTRY, EXTERN, LOCTR, RMODE, RSECT, START, WXTRN and XATTR.
  • Base register - DROP and USING.
  • Data Definition - CCW, CCW0, CCW1, DC and DS.
  • Symbol definition - EQU.
  • Associated data - ADATA.
  • Assembler options - *PROCESS (Since *PROCESS starts in column 1, arguably it's not a pseudo instruction), ACONTROL.
I have to admit I've never used many of these; I'm just copying them from the HLASM Language Reference.
steve-myers
Global moderator
 
Posts: 1885
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 197 times


Return to Assembler

 


  • Related topics
    Replies
    Views
    Last post