---
# System prepended metadata

title: 系統程式期末專案輸出範例
tags: [系統程式]

---

###### tags: `系統程式`

# 系統程式期末專案輸出範例 
[TOC]

## One Pass 範例 : (SIC)

:::info
輸出範例
- Object Program

![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_2fcd5a6eb1300ed17f9d3183635323bb.png)
:::

## Two Pass 範例 : (SIC)

:::success
中間檔請自訂中間檔格式，此圖僅是範例。
* 在 'TWO PASS' 的情形下，為了節省執行時間及方便讀取資料(不用重複讀取原始檔)，
* 故在 'PASS 1' 執行之後，會產生一 "中間檔" ，以便之後供 'PASS 2' 讀取使用。

- 中間檔

![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_3b3714d6b3608e15b89ee3e95500571f.png =80%x)
:::

:::info
輸出範例
- Object Program

![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_c5cd4346f8ce918fc08ac3425ff4b7f2.png)
:::
:::info
輸出範例
- object Program with **M record**

START 0
![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_965b0d6a33417a5c26d742d2002165ac.png)
:::

---

## One Pass 範例 : (SIC_XE)

:::info
One Pass範例輸入檔案第15行跟原檔不一樣喔
![0](https://hackmd.io/_uploads/HJqGA26E0.png)

輸出範例，以下兩種輸出範例皆可接受。
- Object Program
- 第一種
![1](https://hackmd.io/_uploads/HkpmChpE0.png)
- 第二種
![2](https://hackmd.io/_uploads/rkvmy6TNA.png)


:::

## Two Pass 範例 : (SIC_XE)
:::success
請自訂中間檔格式，此圖僅是範例。
- 中間檔

![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_4d8eb0822e0c2bf658fd81a3399d8a7d.png =70%x)
:::

:::info
輸出範例
- Object Program

![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_b2b4b328209b6fd70a54c78c23ff06e1.png)
:::
:::info
輸出範例
- Object Program with **M record**

START    0
![](https://i.imgur.com/B7mAgr0.png)


START 1000
![D8DRijR](https://hackmd.io/_uploads/ry6AoVHGle.png)


:::

