Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
5Activity

Table Of Contents

1 Preface
2 Basic Numbering Systems
2.1 Binary
2.2 Hexadecimal
3 Assembly Language Overview
3.1 Instruction Set Architecture
3.2 Assembler
3.2.1 Assembly Language Statements
3.3 Line Format and Naming
3.4 Program Structure
4 Z390 Emulator and Hello World
4.1 The z390 Portable Mainframe Project
4.2 Running the Emulator
4.3 Hello World
4.4 Running Hello World
4.5 Examining Hello.prn
4.6 More Basic Assembly Language Examples
5 Basic Instruction Formats
5.1 Operands
5.2 Operand Notation
5.3 Operand Semantics
5.4 Operand Formats
5.4.1 RR Format
5.4.2 RX Format
5.4.3 RS Format
5.4.4 SI Format
5.4.5 SS Format
5.4.5.1 One 8 Bit Length Field
5.4.5.2 Two 4 Bit Length Fields
6 Basic Addressing
6.1 Explicit Addressing
6.2 Symbolic Addressing
6.3 Machine Language Formats
6.3.1 RR Machine Language Format
6.3.2 RX Machine Language Format
6.3.3 RS Machine Language Format
6.3.4 SI Machine Language Format
6.3.5 SS Machine Language Format
7 Program Status Word (PSW)
7.1 Layout
7.2 Addressing modes
7.3 Condition Code
7.4 Program Mask
7.5 Problem / Supervisor State Bit
7.6 Instruction Addressing
8 Flow of Control & Branch Instructions
8.1 Conditional Branching (BC, BCR)
8.2 Branch and Link Instructions
8.2.1 BAL and BALR - Branch and Link
8.2.2 Branch and Save - BAS and BASR
8.2.3 Branch Relative and Save - BRAS, BRASL
8.3 Looping Branch Instructions
8.3.1 Branch Index Low, Equal, High - BXLE, BXH
8.3.2 Branch on Count - BCT (RX) and BCTR (RR)
9 Data Types
9.1 Arithmetic Data
9.1.1 Packed Decimal and Zoned Decimal Format Data
9.1.2 Binary Integers and 2s Complement
9.1.3 Nomenclature
9.1.4 Threshold Binary Values
10 Data Declarations
10.1 Declare Constant and Declare Storage (DC and DS)
10.2 Literals
11.2 Save Area
12 Assist Macro Input/Output
12.1 Input / Output using XREAD and XPRNT
12.2 XDUMP
12.3 XDECO/XDECI
12.4 XHEXO/XHEXI
13 Integer Arithmetic
13.1 Program to Add Numbers
13.2 Analyzing the PRN File
13.3 Debugging (XDUMP)
13.4 Data Addressing Alternatives
13.5 More Addressing Alternatives
13.6 Using Extended Mnemonics
14 Other Binary Arithmetic Instructions
14.1 Subtraction
14.2 Halfword Instructions
14.3 Condition Codes After Binary Operations
14.4 Overflows
14.7 Divide (D, DR)
15 Character Instructions
15.1 Basic Character Instructions
15.1.1 Moving Characters (MVC)
15.1.2 Move Immediate (MVI)
15.1.3 Compare Logical Characters (CLC)
15.1.3.1 Compare Logical Immediate (CLI)
15.2 Character Long Instructions
15.2.1 Compare Logical Character Long (CLCL)
15.2.2 Move Character Long (MVCL)
15.3 Translate (TR) and Translate and Test (TRT)
16 Miscellaneous Register Operations
16.1 Load (L)
16.2 Load (LR)
16.3 Store (ST)
16.4 Load Multiple (LM)
16.5 Store Multiple (STM)
16.6 Load and Test (LTR)
16.7 Load Positive (LPR)
16.8 Load Negative (LNR)
17 Bit Operations
17.1 Boolean Instructions
17.1.1 AND (N, NR, NI, NC)
17.1.2 OR (O, OR, OI, OC)
17.1.3 Exclusive OR (X, XR, XI, XC)
17.2 Complement LCR
17.3 Shift
17.3.1 Logical (SRL, SRDL, SLL, SLDL)
17.3.2 Arithmetic (SRA, SRDA, SLA, SLDA)
17.4 Test Under Mask (TM)
17.5 Test and Set (TS)
18 Decimal Arithmetic
18.1 PACK
18.3 Multiply Packed (MP)
18.4 Divide Packed (DP)
18.5 EDIT (ED)
18.6 Miscellaneous Decimal Related Instructions
18.6.1 UNPACK (UNPK)
18.6.2 Move Numerics (MVN)
18.6.3 Move Zones (MVZ)
19 Multiple Base Registers
19.1 Base Register Addressing
20 System Macro Input/Output
21 Converting Between Zoned, Packed and Binary
22 Programming Examples
22.1 Console Input/Output
22.2 Random Numbers
22.3 Convert Infix to Suffix
22.4 Bubble Sort a Table of Numbers
22.5 Search for Prime Numbers
22.6 Print a String in Hexadecimal
22.7 Word Count Program
23 General Instruction Set
0 of .
Results for:
No results containing your search query
P. 1
Assembly6x9

Assembly6x9

Ratings: (0)|Views: 494 |Likes:
Published by Bshankar Reddy

More info:

Published by: Bshankar Reddy on Jul 13, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

12/15/2011

pdf

text

original

You're Reading a Free Preview
Pages 4 to 60 are not shown in this preview.
You're Reading a Free Preview
Pages 64 to 83 are not shown in this preview.
You're Reading a Free Preview
Pages 87 to 107 are not shown in this preview.
You're Reading a Free Preview
Pages 111 to 140 are not shown in this preview.

Activity (5)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Abdul Wahab liked this
Syed Salman liked this
Abdul Wahab liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->