Zilog Z8 Encore! Macro Assembler Version 2.52 (10101401) 10-Jan-12 14:38:47 page: 1 PC Object I Line Source A 1 ; Zilog Z8 Encore! ANSI C Compiler Release 3.62 A 2 ; -nolocalcse -optsize -nofastcall -const=RAM - A 3 ; -nooptlink -regvar -reduceopt -debug -norevaa A 4 ; -alias A 5 DEFINE sample_TEXT,SPACE=ROM A 6 FILE "..\SAMPLE.C" A 7 .debug "C" A 8 SEGMENT FAR_BSS 000000 A 9 _d: 000000 A 10 DS 2*1 A 11 .define "d" A 12 .alias "_d" A 13 .class 83 A 14 .value _d A 15 .type 3 A 16 .type 0 A 17 .endef A 18 SEGMENT ROM_DATA A 19 A 20 A 21 ;**************************** _main *********** A 22 ;Name Addr/Register S A 23 ;_d STATIC A 24 A 25 A 26 ; Aggregate Stack Size: 0 (words) A 27 A 28 A 29 .FRAME _n_main,?_n_main,RDATA A 30 .FRAME _f_main,?_f_main,EDATA A 31 SEGMENT sample_TEXT 000000 A 32 _main: A 33 .define "_main" A 34 .value _main A 35 .class 2 A 36 .type 65 A 37 .type 0 A 38 .endef A 39 .begfunc "main",6,"_main" 000000 D6 0000 A 40 CALL __b_frameset00 A 41 ; 1 #include A 42 ; 2 A 43 ; 3 int d; A 44 ; 4 A 45 ; 5 void main() A 46 ; 6 { A 47 ; 7 PAADDR=0x01; A 48 .line 7 000003 E9010FD0 A 49 LDX 4048,#1 A 50 ; 8 PBADDR=0x01; A 51 .line 8 000007 E9010FD4 A 52 LDX 4052,#1 Zilog Z8 Encore! Macro Assembler Version 2.52 (10101401) 10-Jan-12 14:38:47 page: 2 PC Object I Line Source sample.src A 53 ; 9 PCADDR=0x01; A 54 .line 9 00000B E9010FD8 A 55 LDX 4056,#1 A 56 ; 10 PACTL=0x00; A 57 .line 10 00000F E9000FD1 A 58 LDX 4049,#-0 A 59 ; 11 PBCTL=0x00; A 60 .line 11 000013 E9000FD5 A 61 LDX 4053,#-0 A 62 ; 12 PCCTL=0x00; A 63 .line 12 000017 E9000FD9 A 64 LDX 4057,#-0 A 65 ; 13 back: A 66 .line 13 00001B A 67 _1_L_0: A 68 ; 14 PAOUT=0xff; A 69 .line 14 00001B E9FF0FD3 A 70 LDX 4051,#255 A 71 ; 15 PBOUT=0x0f; A 72 .line 15 00001F E90F0FD7 A 73 LDX 4055,#15 A 74 ; 16 PCOUT=0xff; A 75 .line 16 000023 E9FF0FDB A 76 LDX 4059,#255 000027 8B 0D A 77 JR _1_L_2 A 78 ; 17 for(d=0;d<20000;d++){} 000029 A 79 _1_L_3: A 80 .line 17 000029 A9200001 A 81 CPX _d+1,#32 00002D 1FA94E00 00 A 82 CPCX _d,#78 000032 1B 0C A 83 JR LT,_1_L_5 000034 8B 14 A 84 JR _1_L_6 000036 A 85 _1_L_2: 000036 E9000000 A 86 LDX _d,#-0 00003A E9000001 A 87 LDX _d+1,#-0 00003E 8B E9 A 88 JR _1_L_3 000040 A 89 _1_L_5: 000040 09010001 A 90 ADDX _d+1,#1 000044 19000000 A 91 ADCX _d,#-0 000048 8B DF A 92 JR _1_L_3 00004A A 93 _1_L_6: A 94 ; 18 PAOUT=0x00; A 95 .line 18 00004A E9000FD3 A 96 LDX 4051,#-0 A 97 ; 19 PCOUT=0x00; A 98 .line 19 00004E E9000FDB A 99 LDX 4059,#-0 000052 8B 0D A 100 JR _1_L_8 A 101 ; 20 for(d=0;d<20000;d++){} 000054 A 102 _1_L_9: A 103 .line 20 000054 A9200001 A 104 CPX _d+1,#32 Zilog Z8 Encore! Macro Assembler Version 2.52 (10101401) 10-Jan-12 14:38:47 page: 3 PC Object I Line Source sample.src 000058 1FA94E00 00 A 105 CPCX _d,#78 00005D 1B 0C A 106 JR LT,_1_L_11 00005F 8B 14 A 107 JR _1_L_12 000061 A 108 _1_L_8: 000061 E9000000 A 109 LDX _d,#-0 000065 E9000001 A 110 LDX _d+1,#-0 000069 8B E9 A 111 JR _1_L_9 00006B A 112 _1_L_11: 00006B 09010001 A 113 ADDX _d+1,#1 00006F 19000000 A 114 ADCX _d,#-0 000073 8B DF A 115 JR _1_L_9 000075 A 116 _1_L_12: A 117 ; 21 PAOUT=0xff; A 118 .line 21 000075 E9FF0FD3 A 119 LDX 4051,#255 A 120 ; 22 PCOUT=0xff; A 121 .line 22 000079 E9FF0FDB A 122 LDX 4059,#255 00007D 8B 0D A 123 JR _1_L_14 A 124 ; 23 for(d=0;d<20000;d++){} 00007F A 125 _1_L_15: A 126 .line 23 00007F A9200001 A 127 CPX _d+1,#32 000083 1FA94E00 00 A 128 CPCX _d,#78 000088 1B 0C A 129 JR LT,_1_L_17 00008A 8B 14 A 130 JR _1_L_18 00008C A 131 _1_L_14: 00008C E9000000 A 132 LDX _d,#-0 000090 E9000001 A 133 LDX _d+1,#-0 000094 8B E9 A 134 JR _1_L_15 000096 A 135 _1_L_17: 000096 09010001 A 136 ADDX _d+1,#1 00009A 19000000 A 137 ADCX _d,#-0 00009E 8B DF A 138 JR _1_L_15 0000A0 A 139 _1_L_18: A 140 ; 24 PAOUT=0x00; A 141 .line 24 0000A0 E9000FD3 A 142 LDX 4051,#-0 A 143 ; 25 PCOUT=0x00; A 144 .line 25 0000A4 E9000FDB A 145 LDX 4059,#-0 0000A8 8B 0D A 146 JR _1_L_20 A 147 ; 26 for(d=0;d<20000;d++){} 0000AA A 148 _1_L_21: A 149 .line 26 0000AA A9200001 A 150 CPX _d+1,#32 0000AE 1FA94E00 00 A 151 CPCX _d,#78 0000B3 1B 0C A 152 JR LT,_1_L_23 0000B5 8B 14 A 153 JR _1_L_24 0000B7 A 154 _1_L_20: 0000B7 E9000000 A 155 LDX _d,#-0 0000BB E9000001 A 156 LDX _d+1,#-0 Zilog Z8 Encore! Macro Assembler Version 2.52 (10101401) 10-Jan-12 14:38:47 page: 4 PC Object I Line Source sample.src 0000BF 8B E9 A 157 JR _1_L_21 0000C1 A 158 _1_L_23: 0000C1 09010001 A 159 ADDX _d+1,#1 0000C5 19000000 A 160 ADCX _d,#-0 0000C9 8B DF A 161 JR _1_L_21 0000CB A 162 _1_L_24: A 163 ; 27 PAOUT=0xff; A 164 .line 27 0000CB E9FF0FD3 A 165 LDX 4051,#255 A 166 ; 28 PCOUT=0xff; A 167 .line 28 0000CF E9FF0FDB A 168 LDX 4059,#255 0000D3 8B 0D A 169 JR _1_L_26 A 170 ; 29 for(d=0;d<20000;d++){} 0000D5 A 171 _1_L_27: A 172 .line 29 0000D5 A9200001 A 173 CPX _d+1,#32 0000D9 1FA94E00 00 A 174 CPCX _d,#78 0000DE 1B 0C A 175 JR LT,_1_L_29 0000E0 8B 14 A 176 JR _1_L_30 0000E2 A 177 _1_L_26: 0000E2 E9000000 A 178 LDX _d,#-0 0000E6 E9000001 A 179 LDX _d+1,#-0 0000EA 8B E9 A 180 JR _1_L_27 0000EC A 181 _1_L_29: 0000EC 09010001 A 182 ADDX _d+1,#1 0000F0 19000000 A 183 ADCX _d,#-0 0000F4 8B DF A 184 JR _1_L_27 0000F6 A 185 _1_L_30: A 186 ; 30 PAOUT=0x00; A 187 .line 30 0000F6 E9000FD3 A 188 LDX 4051,#-0 A 189 ; 31 PCOUT=0x00; A 190 .line 31 0000FA E9000FDB A 191 LDX 4059,#-0 0000FE 8B 0D A 192 JR _1_L_32 A 193 ; 32 for(d=0;d<20000;d++){} 000100 A 194 _1_L_33: A 195 .line 32 000100 A9200001 A 196 CPX _d+1,#32 000104 1FA94E00 00 A 197 CPCX _d,#78 000109 1B 0C A 198 JR LT,_1_L_35 00010B 8B 14 A 199 JR _1_L_36 00010D A 200 _1_L_32: 00010D E9000000 A 201 LDX _d,#-0 000111 E9000001 A 202 LDX _d+1,#-0 000115 8B E9 A 203 JR _1_L_33 000117 A 204 _1_L_35: 000117 09010001 A 205 ADDX _d+1,#1 00011B 19000000 A 206 ADCX _d,#-0 00011F 8B DF A 207 JR _1_L_33 000121 A 208 _1_L_36: Zilog Z8 Encore! Macro Assembler Version 2.52 (10101401) 10-Jan-12 14:38:47 page: 5 PC Object I Line Source sample.src A 209 ; 33 PAOUT=0xff; A 210 .line 33 000121 E9FF0FD3 A 211 LDX 4051,#255 A 212 ; 34 PCOUT=0xff; A 213 .line 34 000125 E9FF0FDB A 214 LDX 4059,#255 000129 8B 0D A 215 JR _1_L_38 A 216 ; 35 for(d=0;d<20000;d++){} 00012B A 217 _1_L_39: A 218 .line 35 00012B A9200001 A 219 CPX _d+1,#32 00012F 1FA94E00 00 A 220 CPCX _d,#78 000134 1B 0C A 221 JR LT,_1_L_41 000136 8B 14 A 222 JR _1_L_42 000138 A 223 _1_L_38: 000138 E9000000 A 224 LDX _d,#-0 00013C E9000001 A 225 LDX _d+1,#-0 000140 8B E9 A 226 JR _1_L_39 000142 A 227 _1_L_41: 000142 09010001 A 228 ADDX _d+1,#1 000146 19000000 A 229 ADCX _d,#-0 00014A 8B DF A 230 JR _1_L_39 00014C A 231 _1_L_42: A 232 ; 36 PAOUT=0x00; A 233 .line 36 00014C E9000FD3 A 234 LDX 4051,#-0 A 235 ; 37 PCOUT=0x00; A 236 .line 37 000150 E9000FDB A 237 LDX 4059,#-0 000154 8B 0D A 238 JR _1_L_44 A 239 ; 38 for(d=0;d<20000;d++){} 000156 A 240 _1_L_45: A 241 .line 38 000156 A9200001 A 242 CPX _d+1,#32 00015A 1FA94E00 00 A 243 CPCX _d,#78 00015F 1B 0C A 244 JR LT,_1_L_47 000161 8B 14 A 245 JR _1_L_48 000163 A 246 _1_L_44: 000163 E9000000 A 247 LDX _d,#-0 000167 E9000001 A 248 LDX _d+1,#-0 00016B 8B E9 A 249 JR _1_L_45 00016D A 250 _1_L_47: 00016D 09010001 A 251 ADDX _d+1,#1 000171 19000000 A 252 ADCX _d,#-0 000175 8B DF A 253 JR _1_L_45 000177 A 254 _1_L_48: A 255 ; 39 PAOUT=0x00; A 256 .line 39 000177 E9000FD3 A 257 LDX 4051,#-0 A 258 ; 40 PCOUT=0x00; A 259 .line 40 00017B E9000FDB A 260 LDX 4059,#-0 Zilog Z8 Encore! Macro Assembler Version 2.52 (10101401) 10-Jan-12 14:38:47 page: 6 PC Object I Line Source sample.src 00017F 8B 0D A 261 JR _1_L_50 A 262 ; 41 for(d=0;d<20000;d++){} 000181 A 263 _1_L_51: A 264 .line 41 000181 A9200001 A 265 CPX _d+1,#32 000185 1FA94E00 00 A 266 CPCX _d,#78 00018A 1B 0C A 267 JR LT,_1_L_53 00018C 8B 14 A 268 JR _1_L_54 00018E A 269 _1_L_50: 00018E E9000000 A 270 LDX _d,#-0 000192 E9000001 A 271 LDX _d+1,#-0 000196 8B E9 A 272 JR _1_L_51 000198 A 273 _1_L_53: 000198 09010001 A 274 ADDX _d+1,#1 00019C 19000000 A 275 ADCX _d,#-0 0001A0 8B DF A 276 JR _1_L_51 0001A2 A 277 _1_L_54: A 278 ; 42 PAOUT=0xff; A 279 .line 42 0001A2 E9FF0FD3 A 280 LDX 4051,#255 A 281 ; 43 PCOUT=0xff; A 282 .line 43 0001A6 E9FF0FDB A 283 LDX 4059,#255 0001AA 8B 0D A 284 JR _1_L_56 A 285 ; 44 for(d=0;d<20000;d++){} 0001AC A 286 _1_L_57: A 287 .line 44 0001AC A9200001 A 288 CPX _d+1,#32 0001B0 1FA94E00 00 A 289 CPCX _d,#78 0001B5 1B 0C A 290 JR LT,_1_L_59 0001B7 8B 14 A 291 JR _1_L_60 0001B9 A 292 _1_L_56: 0001B9 E9000000 A 293 LDX _d,#-0 0001BD E9000001 A 294 LDX _d+1,#-0 0001C1 8B E9 A 295 JR _1_L_57 0001C3 A 296 _1_L_59: 0001C3 09010001 A 297 ADDX _d+1,#1 0001C7 19000000 A 298 ADCX _d,#-0 0001CB 8B DF A 299 JR _1_L_57 0001CD A 300 _1_L_60: A 301 ; 45 PAOUT=0x00; A 302 .line 45 0001CD E9000FD3 A 303 LDX 4051,#-0 A 304 ; 46 PCOUT=0x00; A 305 .line 46 0001D1 E9000FDB A 306 LDX 4059,#-0 0001D5 8B 0D A 307 JR _1_L_62 A 308 ; 47 for(d=0;d<20000;d++){} 0001D7 A 309 _1_L_63: A 310 .line 47 0001D7 A9200001 A 311 CPX _d+1,#32 0001DB 1FA94E00 00 A 312 CPCX _d,#78 Zilog Z8 Encore! Macro Assembler Version 2.52 (10101401) 10-Jan-12 14:38:47 page: 7 PC Object I Line Source sample.src 0001E0 1B 0C A 313 JR LT,_1_L_65 0001E2 8B 14 A 314 JR _1_L_66 0001E4 A 315 _1_L_62: 0001E4 E9000000 A 316 LDX _d,#-0 0001E8 E9000001 A 317 LDX _d+1,#-0 0001EC 8B E9 A 318 JR _1_L_63 0001EE A 319 _1_L_65: 0001EE 09010001 A 320 ADDX _d+1,#1 0001F2 19000000 A 321 ADCX _d,#-0 0001F6 8B DF A 322 JR _1_L_63 0001F8 A 323 _1_L_66: A 324 ; 48 PAOUT=0xff; A 325 .line 48 0001F8 E9FF0FD3 A 326 LDX 4051,#255 A 327 ; 49 PCOUT=0xff; A 328 .line 49 0001FC E9FF0FDB A 329 LDX 4059,#255 000200 8B 0D A 330 JR _1_L_68 A 331 ; 50 for(d=0;d<20000;d++){} 000202 A 332 _1_L_69: A 333 .line 50 000202 A9200001 A 334 CPX _d+1,#32 000206 1FA94E00 00 A 335 CPCX _d,#78 00020B 1B 0C A 336 JR LT,_1_L_71 00020D 8B 14 A 337 JR _1_L_72 00020F A 338 _1_L_68: 00020F E9000000 A 339 LDX _d,#-0 000213 E9000001 A 340 LDX _d+1,#-0 000217 8B E9 A 341 JR _1_L_69 000219 A 342 _1_L_71: 000219 09010001 A 343 ADDX _d+1,#1 00021D 19000000 A 344 ADCX _d,#-0 000221 8B DF A 345 JR _1_L_69 000223 A 346 _1_L_72: A 347 ; 51 PAOUT=0x00; A 348 .line 51 000223 E9000FD3 A 349 LDX 4051,#-0 A 350 ; 52 PCOUT=0x00; A 351 .line 52 000227 E9000FDB A 352 LDX 4059,#-0 00022B 8B 0D A 353 JR _1_L_74 A 354 ; 53 for(d=0;d<20000;d++){} 00022D A 355 _1_L_75: A 356 .line 53 00022D A9200001 A 357 CPX _d+1,#32 000231 1FA94E00 00 A 358 CPCX _d,#78 000236 1B 0C A 359 JR LT,_1_L_77 000238 8B 14 A 360 JR _1_L_78 00023A A 361 _1_L_74: 00023A E9000000 A 362 LDX _d,#-0 00023E E9000001 A 363 LDX _d+1,#-0 000242 8B E9 A 364 JR _1_L_75 Zilog Z8 Encore! Macro Assembler Version 2.52 (10101401) 10-Jan-12 14:38:47 page: 8 PC Object I Line Source sample.src 000244 A 365 _1_L_77: 000244 09010001 A 366 ADDX _d+1,#1 000248 19000000 A 367 ADCX _d,#-0 00024C 8B DF A 368 JR _1_L_75 00024E A 369 _1_L_78: A 370 ; 54 PAOUT=0xff; A 371 .line 54 00024E E9FF0FD3 A 372 LDX 4051,#255 A 373 ; 55 PCOUT=0xff; A 374 .line 55 000252 E9FF0FDB A 375 LDX 4059,#255 000256 8B 0D A 376 JR _1_L_80 A 377 ; 56 for(d=0;d<20000;d++){} 000258 A 378 _1_L_81: A 379 .line 56 000258 A9200001 A 380 CPX _d+1,#32 00025C 1FA94E00 00 A 381 CPCX _d,#78 000261 1B 0C A 382 JR LT,_1_L_83 000263 8B 14 A 383 JR _1_L_84 000265 A 384 _1_L_80: 000265 E9000000 A 385 LDX _d,#-0 000269 E9000001 A 386 LDX _d+1,#-0 00026D 8B E9 A 387 JR _1_L_81 00026F A 388 _1_L_83: 00026F 09010001 A 389 ADDX _d+1,#1 000273 19000000 A 390 ADCX _d,#-0 000277 8B DF A 391 JR _1_L_81 000279 A 392 _1_L_84: A 393 ; 57 PAOUT=0x00; A 394 .line 57 000279 E9000FD3 A 395 LDX 4051,#-0 A 396 ; 58 PCOUT=0x00; A 397 .line 58 00027D E9000FDB A 398 LDX 4059,#-0 000281 8B 0D A 399 JR _1_L_86 A 400 ; 59 for(d=0;d<20000;d++){} 000283 A 401 _1_L_87: A 402 .line 59 000283 A9200001 A 403 CPX _d+1,#32 000287 1FA94E00 00 A 404 CPCX _d,#78 00028C 1B 0C A 405 JR LT,_1_L_89 00028E 8B 14 A 406 JR _1_L_90 000290 A 407 _1_L_86: 000290 E9000000 A 408 LDX _d,#-0 000294 E9000001 A 409 LDX _d+1,#-0 000298 8B E9 A 410 JR _1_L_87 00029A A 411 _1_L_89: 00029A 09010001 A 412 ADDX _d+1,#1 00029E 19000000 A 413 ADCX _d,#-0 0002A2 8B DF A 414 JR _1_L_87 0002A4 A 415 _1_L_90: A 416 ; 60 PAOUT=0xff; Zilog Z8 Encore! Macro Assembler Version 2.52 (10101401) 10-Jan-12 14:38:47 page: 9 PC Object I Line Source sample.src A 417 .line 60 0002A4 E9FF0FD3 A 418 LDX 4051,#255 A 419 ; 61 PBOUT=0x0a; A 420 .line 61 0002A8 E90A0FD7 A 421 LDX 4055,#10 A 422 ; 62 PCOUT=0xff; A 423 .line 62 0002AC E9FF0FDB A 424 LDX 4059,#255 0002B0 8B 0D A 425 JR _1_L_92 A 426 ; 63 for(d=0;d<20000;d++){} 0002B2 A 427 _1_L_93: A 428 .line 63 0002B2 A9200001 A 429 CPX _d+1,#32 0002B6 1FA94E00 00 A 430 CPCX _d,#78 0002BB 1B 0C A 431 JR LT,_1_L_95 0002BD 8B 14 A 432 JR _1_L_96 0002BF A 433 _1_L_92: 0002BF E9000000 A 434 LDX _d,#-0 0002C3 E9000001 A 435 LDX _d+1,#-0 0002C7 8B E9 A 436 JR _1_L_93 0002C9 A 437 _1_L_95: 0002C9 09010001 A 438 ADDX _d+1,#1 0002CD 19000000 A 439 ADCX _d,#-0 0002D1 8B DF A 440 JR _1_L_93 0002D3 A 441 _1_L_96: A 442 ; 64 PAOUT=0x00; A 443 .line 64 0002D3 E9000FD3 A 444 LDX 4051,#-0 A 445 ; 65 PCOUT=0x00; A 446 .line 65 0002D7 E9000FDB A 447 LDX 4059,#-0 0002DB 8B 0D A 448 JR _1_L_98 A 449 ; 66 for(d=0;d<20000;d++){} 0002DD A 450 _1_L_99: A 451 .line 66 0002DD A9200001 A 452 CPX _d+1,#32 0002E1 1FA94E00 00 A 453 CPCX _d,#78 0002E6 1B 0C A 454 JR LT,_1_L_101 0002E8 8B 14 A 455 JR _1_L_102 0002EA A 456 _1_L_98: 0002EA E9000000 A 457 LDX _d,#-0 0002EE E9000001 A 458 LDX _d+1,#-0 0002F2 8B E9 A 459 JR _1_L_99 0002F4 A 460 _1_L_101: 0002F4 09010001 A 461 ADDX _d+1,#1 0002F8 19000000 A 462 ADCX _d,#-0 0002FC 8B DF A 463 JR _1_L_99 0002FE A 464 _1_L_102: A 465 ; 67 PAOUT=0xff; A 466 .line 67 0002FE E9FF0FD3 A 467 LDX 4051,#255 A 468 ; 68 PCOUT=0xff; Zilog Z8 Encore! Macro Assembler Version 2.52 (10101401) 10-Jan-12 14:38:47 page: 10 PC Object I Line Source sample.src A 469 .line 68 000302 E9FF0FDB A 470 LDX 4059,#255 000306 8B 0D A 471 JR _1_L_104 A 472 ; 69 for(d=0;d<20000;d++){} 000308 A 473 _1_L_105: A 474 .line 69 000308 A9200001 A 475 CPX _d+1,#32 00030C 1FA94E00 00 A 476 CPCX _d,#78 000311 1B 0C A 477 JR LT,_1_L_107 000313 8B 14 A 478 JR _1_L_108 000315 A 479 _1_L_104: 000315 E9000000 A 480 LDX _d,#-0 000319 E9000001 A 481 LDX _d+1,#-0 00031D 8B E9 A 482 JR _1_L_105 00031F A 483 _1_L_107: 00031F 09010001 A 484 ADDX _d+1,#1 000323 19000000 A 485 ADCX _d,#-0 000327 8B DF A 486 JR _1_L_105 000329 A 487 _1_L_108: A 488 ; 70 PAOUT=0x00; A 489 .line 70 000329 E9000FD3 A 490 LDX 4051,#-0 A 491 ; 71 PCOUT=0x00; A 492 .line 71 00032D E9000FDB A 493 LDX 4059,#-0 000331 8B 0D A 494 JR _1_L_110 A 495 ; 72 for(d=0;d<20000;d++){} 000333 A 496 _1_L_111: A 497 .line 72 000333 A9200001 A 498 CPX _d+1,#32 000337 1FA94E00 00 A 499 CPCX _d,#78 00033C 1B 0C A 500 JR LT,_1_L_113 00033E 8B 14 A 501 JR _1_L_114 000340 A 502 _1_L_110: 000340 E9000000 A 503 LDX _d,#-0 000344 E9000001 A 504 LDX _d+1,#-0 000348 8B E9 A 505 JR _1_L_111 00034A A 506 _1_L_113: 00034A 09010001 A 507 ADDX _d+1,#1 00034E 19000000 A 508 ADCX _d,#-0 000352 8B DF A 509 JR _1_L_111 000354 A 510 _1_L_114: A 511 ; 73 PAOUT=0xff; A 512 .line 73 000354 E9FF0FD3 A 513 LDX 4051,#255 A 514 ; 74 PCOUT=0xff; A 515 .line 74 000358 E9FF0FDB A 516 LDX 4059,#255 00035C 8B 0D A 517 JR _1_L_116 A 518 ; 75 for(d=0;d<20000;d++){} 00035E A 519 _1_L_117: A 520 .line 75 Zilog Z8 Encore! Macro Assembler Version 2.52 (10101401) 10-Jan-12 14:38:47 page: 11 PC Object I Line Source sample.src 00035E A9200001 A 521 CPX _d+1,#32 000362 1FA94E00 00 A 522 CPCX _d,#78 000367 1B 0C A 523 JR LT,_1_L_119 000369 8B 14 A 524 JR _1_L_120 00036B A 525 _1_L_116: 00036B E9000000 A 526 LDX _d,#-0 00036F E9000001 A 527 LDX _d+1,#-0 000373 8B E9 A 528 JR _1_L_117 000375 A 529 _1_L_119: 000375 09010001 A 530 ADDX _d+1,#1 000379 19000000 A 531 ADCX _d,#-0 00037D 8B DF A 532 JR _1_L_117 00037F A 533 _1_L_120: A 534 ; 76 PAOUT=0x00; A 535 .line 76 00037F E9000FD3 A 536 LDX 4051,#-0 A 537 ; 77 PCOUT=0x00; A 538 .line 77 000383 E9000FDB A 539 LDX 4059,#-0 000387 8B 0D A 540 JR _1_L_122 A 541 ; 78 for(d=0;d<20000;d++){} 000389 A 542 _1_L_123: A 543 .line 78 000389 A9200001 A 544 CPX _d+1,#32 00038D 1FA94E00 00 A 545 CPCX _d,#78 000392 1B 0C A 546 JR LT,_1_L_125 000394 8B 14 A 547 JR _1_L_126 000396 A 548 _1_L_122: 000396 E9000000 A 549 LDX _d,#-0 00039A E9000001 A 550 LDX _d+1,#-0 00039E 8B E9 A 551 JR _1_L_123 0003A0 A 552 _1_L_125: 0003A0 09010001 A 553 ADDX _d+1,#1 0003A4 19000000 A 554 ADCX _d,#-0 0003A8 8B DF A 555 JR _1_L_123 0003AA A 556 _1_L_126: A 557 ; 79 PAOUT=0xff; A 558 .line 79 0003AA E9FF0FD3 A 559 LDX 4051,#255 A 560 ; 80 PCOUT=0xff; A 561 .line 80 0003AE E9FF0FDB A 562 LDX 4059,#255 0003B2 8B 0D A 563 JR _1_L_128 A 564 ; 81 for(d=0;d<20000;d++){} 0003B4 A 565 _1_L_129: A 566 .line 81 0003B4 A9200001 A 567 CPX _d+1,#32 0003B8 1FA94E00 00 A 568 CPCX _d,#78 0003BD 1B 0C A 569 JR LT,_1_L_131 0003BF 8B 14 A 570 JR _1_L_132 0003C1 A 571 _1_L_128: 0003C1 E9000000 A 572 LDX _d,#-0 Zilog Z8 Encore! Macro Assembler Version 2.52 (10101401) 10-Jan-12 14:38:47 page: 12 PC Object I Line Source sample.src 0003C5 E9000001 A 573 LDX _d+1,#-0 0003C9 8B E9 A 574 JR _1_L_129 0003CB A 575 _1_L_131: 0003CB 09010001 A 576 ADDX _d+1,#1 0003CF 19000000 A 577 ADCX _d,#-0 0003D3 8B DF A 578 JR _1_L_129 0003D5 A 579 _1_L_132: A 580 ; 82 PAOUT=0x00; A 581 .line 82 0003D5 E9000FD3 A 582 LDX 4051,#-0 A 583 ; 83 PCOUT=0x00; A 584 .line 83 0003D9 E9000FDB A 585 LDX 4059,#-0 0003DD 8B 0D A 586 JR _1_L_134 A 587 ; 84 for(d=0;d<20000;d++){} 0003DF A 588 _1_L_135: A 589 .line 84 0003DF A9200001 A 590 CPX _d+1,#32 0003E3 1FA94E00 00 A 591 CPCX _d,#78 0003E8 1B 0C A 592 JR LT,_1_L_137 0003EA 8B 14 A 593 JR _1_L_138 0003EC A 594 _1_L_134: 0003EC E9000000 A 595 LDX _d,#-0 0003F0 E9000001 A 596 LDX _d+1,#-0 0003F4 8B E9 A 597 JR _1_L_135 0003F6 A 598 _1_L_137: 0003F6 09010001 A 599 ADDX _d+1,#1 0003FA 19000000 A 600 ADCX _d,#-0 0003FE 8B DF A 601 JR _1_L_135 000400 A 602 _1_L_138: A 603 ; 85 PAOUT=0x00; A 604 .line 85 000400 E9000FD3 A 605 LDX 4051,#-0 A 606 ; 86 PCOUT=0x00; A 607 .line 86 000404 E9000FDB A 608 LDX 4059,#-0 000408 8B 0D A 609 JR _1_L_140 A 610 ; 87 for(d=0;d<20000;d++){} 00040A A 611 _1_L_141: A 612 .line 87 00040A A9200001 A 613 CPX _d+1,#32 00040E 1FA94E00 00 A 614 CPCX _d,#78 000413 1B 0C A 615 JR LT,_1_L_143 000415 8B 14 A 616 JR _1_L_144 000417 A 617 _1_L_140: 000417 E9000000 A 618 LDX _d,#-0 00041B E9000001 A 619 LDX _d+1,#-0 00041F 8B E9 A 620 JR _1_L_141 000421 A 621 _1_L_143: 000421 09010001 A 622 ADDX _d+1,#1 000425 19000000 A 623 ADCX _d,#-0 000429 8B DF A 624 JR _1_L_141 Zilog Z8 Encore! Macro Assembler Version 2.52 (10101401) 10-Jan-12 14:38:47 page: 13 PC Object I Line Source sample.src 00042B A 625 _1_L_144: A 626 ; 88 PAOUT=0xff; A 627 .line 88 00042B E9FF0FD3 A 628 LDX 4051,#255 A 629 ; 89 PCOUT=0xff; A 630 .line 89 00042F E9FF0FDB A 631 LDX 4059,#255 000433 8B 0D A 632 JR _1_L_146 A 633 ; 90 for(d=0;d<20000;d++){} 000435 A 634 _1_L_147: A 635 .line 90 000435 A9200001 A 636 CPX _d+1,#32 000439 1FA94E00 00 A 637 CPCX _d,#78 00043E 1B 0C A 638 JR LT,_1_L_149 000440 8B 14 A 639 JR _1_L_150 000442 A 640 _1_L_146: 000442 E9000000 A 641 LDX _d,#-0 000446 E9000001 A 642 LDX _d+1,#-0 00044A 8B E9 A 643 JR _1_L_147 00044C A 644 _1_L_149: 00044C 09010001 A 645 ADDX _d+1,#1 000450 19000000 A 646 ADCX _d,#-0 000454 8B DF A 647 JR _1_L_147 000456 A 648 _1_L_150: A 649 ; 91 PAOUT=0x00; A 650 .line 91 000456 E9000FD3 A 651 LDX 4051,#-0 A 652 ; 92 PCOUT=0x00; A 653 .line 92 00045A E9000FDB A 654 LDX 4059,#-0 00045E 8B 0D A 655 JR _1_L_152 A 656 ; 93 for(d=0;d<20000;d++){} 000460 A 657 _1_L_153: A 658 .line 93 000460 A9200001 A 659 CPX _d+1,#32 000464 1FA94E00 00 A 660 CPCX _d,#78 000469 1B 0C A 661 JR LT,_1_L_155 00046B 8B 14 A 662 JR _1_L_156 00046D A 663 _1_L_152: 00046D E9000000 A 664 LDX _d,#-0 000471 E9000001 A 665 LDX _d+1,#-0 000475 8B E9 A 666 JR _1_L_153 000477 A 667 _1_L_155: 000477 09010001 A 668 ADDX _d+1,#1 00047B 19000000 A 669 ADCX _d,#-0 00047F 8B DF A 670 JR _1_L_153 000481 A 671 _1_L_156: A 672 ; 94 PAOUT=0xff; A 673 .line 94 000481 E9FF0FD3 A 674 LDX 4051,#255 A 675 ; 95 PCOUT=0xff; A 676 .line 95 Zilog Z8 Encore! Macro Assembler Version 2.52 (10101401) 10-Jan-12 14:38:47 page: 14 PC Object I Line Source sample.src 000485 E9FF0FDB A 677 LDX 4059,#255 000489 8B 0D A 678 JR _1_L_158 A 679 ; 96 for(d=0;d<20000;d++){} 00048B A 680 _1_L_159: A 681 .line 96 00048B A9200001 A 682 CPX _d+1,#32 00048F 1FA94E00 00 A 683 CPCX _d,#78 000494 1B 0C A 684 JR LT,_1_L_161 000496 8B 14 A 685 JR _1_L_162 000498 A 686 _1_L_158: 000498 E9000000 A 687 LDX _d,#-0 00049C E9000001 A 688 LDX _d+1,#-0 0004A0 8B E9 A 689 JR _1_L_159 0004A2 A 690 _1_L_161: 0004A2 09010001 A 691 ADDX _d+1,#1 0004A6 19000000 A 692 ADCX _d,#-0 0004AA 8B DF A 693 JR _1_L_159 0004AC A 694 _1_L_162: A 695 ; 97 PAOUT=0x00; A 696 .line 97 0004AC E9000FD3 A 697 LDX 4051,#-0 A 698 ; 98 PCOUT=0x00; A 699 .line 98 0004B0 E9000FDB A 700 LDX 4059,#-0 0004B4 8B 0D A 701 JR _1_L_164 A 702 ; 99 for(d=0;d<20000;d++){} 0004B6 A 703 _1_L_165: A 704 .line 99 0004B6 A9200001 A 705 CPX _d+1,#32 0004BA 1FA94E00 00 A 706 CPCX _d,#78 0004BF 1B 0C A 707 JR LT,_1_L_167 0004C1 8B 14 A 708 JR _1_L_168 0004C3 A 709 _1_L_164: 0004C3 E9000000 A 710 LDX _d,#-0 0004C7 E9000001 A 711 LDX _d+1,#-0 0004CB 8B E9 A 712 JR _1_L_165 0004CD A 713 _1_L_167: 0004CD 09010001 A 714 ADDX _d+1,#1 0004D1 19000000 A 715 ADCX _d,#-0 0004D5 8B DF A 716 JR _1_L_165 0004D7 A 717 _1_L_168: A 718 ; 100 PAOUT=0xff; A 719 .line 100 0004D7 E9FF0FD3 A 720 LDX 4051,#255 A 721 ; 101 PCOUT=0xff; A 722 .line 101 0004DB E9FF0FDB A 723 LDX 4059,#255 0004DF 8B 0D A 724 JR _1_L_170 A 725 ; 102 for(d=0;d<20000;d++){} 0004E1 A 726 _1_L_171: A 727 .line 102 0004E1 A9200001 A 728 CPX _d+1,#32 Zilog Z8 Encore! Macro Assembler Version 2.52 (10101401) 10-Jan-12 14:38:47 page: 15 PC Object I Line Source sample.src 0004E5 1FA94E00 00 A 729 CPCX _d,#78 0004EA 1B 0C A 730 JR LT,_1_L_173 0004EC 8B 14 A 731 JR _1_L_174 0004EE A 732 _1_L_170: 0004EE E9000000 A 733 LDX _d,#-0 0004F2 E9000001 A 734 LDX _d+1,#-0 0004F6 8B E9 A 735 JR _1_L_171 0004F8 A 736 _1_L_173: 0004F8 09010001 A 737 ADDX _d+1,#1 0004FC 19000000 A 738 ADCX _d,#-0 000500 8B DF A 739 JR _1_L_171 000502 A 740 _1_L_174: A 741 ; 103 PAOUT=0x00; A 742 .line 103 000502 E9000FD3 A 743 LDX 4051,#-0 A 744 ; 104 PCOUT=0x00; A 745 .line 104 000506 E9000FDB A 746 LDX 4059,#-0 00050A 8B 0E A 747 JR _1_L_176 A 748 ; 105 for(d=0;d<20000;d++){} 00050C A 749 _1_L_177: A 750 .line 105 00050C A9200001 A 751 CPX _d+1,#32 000510 1FA94E00 00 A 752 CPCX _d,#78 000515 1B 0D A 753 JR LT,_1_L_179 000517 8D 00 1B A 754 JR _1_L_0 00051A A 755 _1_L_176: 00051A E9000000 A 756 LDX _d,#-0 00051E E9000001 A 757 LDX _d+1,#-0 000522 8B E8 A 758 JR _1_L_177 000524 A 759 _1_L_179: 000524 09010001 A 760 ADDX _d+1,#1 000528 19000000 A 761 ADCX _d,#-0 00052C 8B DE A 762 JR _1_L_177 A 763 .endfunc "main",107,"_main" A 764 XREF __b_framereset:ROM A 765 XREF __b_frameset00:ROM A 766 XDEF _main A 767 XDEF _d A 768 ; 106 goto back; A 769 ; 107 } A 770 END Errors: 0 Warnings: 0 Lines Assembled: 771