0504 0401
0505 0401 1A theend seltap0 ; (switch to) TAP 0
0506 0402 01 tms1
0507 0403 01 tms1
0508 0404 01 tms1
0509 0405 01 tms1
0510 0406 01 tms1 ; reset sequence for TAP 0
0511 0407 1B seltap1 ; switch to TAP 1
0512 0408 01 tms1
0513 0409 01 tms1
0514 040A 01 tms1
0515 040B 01 tms1
0516 040C 01 tms1 ; reset sequence for TAP 1
0517 040D 10 halt ; this is the end
0518 040E
0519 040E .end
0520 040E
0521 040E
0522 040E
0523 8000 primary .org 8000h
0524 8000