This is not an exhaustive list of instructions for either OS/390 or z/OS. It covers the instructions typically used in the exercises illustrated on this site.

A blank entry in the 64-bit column means that the corresponding 24 or 31-bit instruction will work in AMODE 24 and 31.

Some entries in the 64-bit column are blank because there is no direct correlation of instructions and even where an entry is included, the precise instruction in 64-bit mode may vary depending on the size of the operands employed.

24-Bit

31-bit

64-bit

Instruction name

A

A

AG

Add

AH

AH

AGHI

Add Halfword

AP

AP

AP

Add Packed

AR

AR

AGR

Add Register

BAL

 

 

Branch and Link

BALR

 

 

Branch and Link Return

 

BAS

 

Branch and Save

 

BASR

 

Branch and Save Return

BC

BC

BC

Branch on Condition

BCR

BCR

BCR

Branch on Condition Register

BCT

BCT

BCTG

Branch on Count

BCTR

BCTR

BCTGR

Branch on Count Register

BXH

BXH

BXHG

Branch on Index High

BXLE

BXLE

BXLEG

Branch on Index Low or Equal

C

C

CG

Compare

CH

CH

CGHI

Compare Halfword

CLC

CLC

CLC

Compare Logical Character

CLCL

CLCL

CLCL

Compare Logical Character Long

CLI

CLI

CLI

Compare Logical Immediate

CP

CP

CP

Compare Packed

CR

CR

CGR

Compare Register

CVB

CVB

CVBG

Convert to Binary

CVD

CVD

CVDG

Convert to Decimal

D

D

 

Divide

DP

DP

DP

Divide Packed

DR

DR

 

Divide Register

ED

ED

ED

Edit

EDMK

EDMK

EDMK

Edit and Mark

EX

EX

EX

Execute

IC

IC

IC

Insert Character

ICM

ICM

ICM

Insert Character under Mask

 

 

ICMH

Insert Character under Mask High

L

L

LG

Load

LA

LA

 

Load Address

LH

LH

LGH

Load Halfword

LM

LM

LMG

Load Multiple

LR

LR

LGR

Load Register

LTR

LTR

LTG

Load and Test Register

M

M

 

Multiply

MH

MH

 

Multiply Halfword

MP

MP

MP

Multiply Packed

MR

MR

 

Multiply Register

MVC

MVC

MVC

Move Character

MVCIN

MVCIN

MVCIN

Move Inverse

MVCL

MVCL

MVCL

Move Character Long

MVI

MVI

MVI

Move Immediate

MVN

MVN

MVN

Move Numerics

MVO

MVO

MVO

Move with Offset

MVZ

MVZ

MVZ

Move Zones

N

N

NG

And

NC

NC

NC

And

NI

NI

NI

And

NR

NR

NGR

And

O

O

OG

Or

OC

OC

OC

Or

OI

OI

OI

Or

OR

OR

OGR

Or

PACK

PACK

PACK

Pack

S

S

SG

Subtract

SH

SH

 

Subtract Halfword

SLA

SLA

SLAG

Shift Left Single

SLDA

SLDA

 

Shift Left Double Logical

SLDL

SLDL

 

Shift Left Double Logical

SLL

SLL

SLLG

Shift Left Single Logical

SP

SP

SP

Subtract Packed

SR

SR

SGR

Subtract Register

SRA

SRA

SRAG

Shift Right Single

SRDA

SRDA

 

Shift Right Double Logical

SRDL

SRDL

 

Shift Right Double Logical

SRL

SRL

SRLG

Shift Right Single Logical

SRP

SRP

SRP

Shift and Round Packed

ST

ST

STG

Store

STC

STC

STC

Store Character

STCM

STCM

STCM

Store Character under Mask

 

 

STCMH

Store Character under Mask High

STH

STH

 

Store Halfword

STM

STM

STMG

Store Multiple

TM

TM

 

Test under Mask

 

 

TMHH

Test under Mask (High High)

 

 

TMHL

Test under Mask (High Low)

 

 

TMLH

Test under Mask (Low High)

 

 

TMLL

Test under Mask (Low Low)

TR

TR

TR

Translate

TRT

TRT

TRT

Translate and Test

UNPK

UNPK

UNPK

Unpack

X

X

XG

Exclusive Or

XC

XC

XC

Exclusive Or

XI

XI

XI

Exclusive Or

XR

XR

XGR

Exclusive Or

ZAP

ZAP

ZAP

Zeroise and Add Packed

End of topic

Copyright © KMS-IT Limited 2002