Mon Jan 16 2017 13:57 Page 1 *************************************** ** WDC 65C816 Macro Assembler ** ** ** ** Version 3.49.1- Feb 6 2006 ** *************************************** 1 ;:ts=8 2 00000001 R0 equ 1 3 00000005 R1 equ 5 4 00000009 R2 equ 9 5 0000000D R3 equ 13 6 ;#include 7 ;#include 8 ; 9 ; 10 ;void main(void) { 11 code 12 xdef ~~main 13 func 14 ~~main: 15 longa on 16 longi on 17 00:0000: 3B tsc 18 00:0001: 38 sec 19 00:0002: E9 04 00 sbc #L2 20 00:0005: 1B tcs 21 00:0006: 0B phd 22 00:0007: 5B tcd 23 ; 24 ; FILE *fp = fopen("file.txt", "wb"); 25 ; 26 ; fclose(fp); 27 00000000 fp_1 set 0 28 00:0008: F4 xx xx pea #^L1+9 29 00:000B: F4 xx xx pea #