Whereas David Whittaker accomplished some great 48k and 128k pieces of music, the next time you hear some realistic five channel music from your Spectrum or Spectrum emulator, just bear in mind one name: "Tim Follin". Tim was the musical wizard who accomplished some great sounding five channel sonics from the Sinclair 48k Spectrum, with some of the finest layered dinamic's ever to grace the Sinclair Spectrum's 48k's internal speaker. Tim was always one step ahead: he fine tuned his techniques to absolute perfection. His multi channel compisitions began with the likes of the musical masterpieces of such computer games as the Agent X I and II theme and also Chronos on the Sinclair Spectrum, which were all released on the Mastronic label. However, it was Tim's music in "Agent X II" in which he truly perefected his multi channel sound routines with the best sounding sonics to ever grace the Sinclair 48k Spectrum. Whatsmore who could ever think you could get a drum snare out of Sinclair's 48k Spectrum?
I provide Tim's machine code route as printed in a "Your Sinclair magazine in the year 1987, as a fitting tribute. Hopefully he does not mind. It was published under the heading of "Star Tip 2" which was printed in the "program pitstop" section of the magazine".
His piece of code demonstrates some very clever trickery by squeezing four channel music out of the Sinclair 48k Spectrum. The machine code for this routine starts at address 40000, and is 1340 bytes long. I also provide the routine in TAP and TZX formats for you to load into your Spectrum emulator if you wish to save yourself some typing (download it by clicking the links below).
Click here to download! (TAP format)
Click here to download! (TZX format)
His routine I have provided with numerical values printed in hex depending which your assembler prefers. I include his composition also as an MP3 for those that do not have a Spectrum or Spectrum emulator which you can download by clicking this link (0.5 megabytes) which you can load into any suitable MP3 player such as Windows Media player.
; Star Tip 2 by Tim Follin. ; Printed in Your Sinclair program pistop ; in 1987. ; ; Z80 Disassembly by Craig Daines. ; ; Numerical values are printed in decimal. ; if this is inconvient, I provide the ; same disassembly with numerical values ; printed in hex (available as a seperate ; file). ; ; The routine starts at address 9C40 ; (40000 decimal) and ends at address A17B ; (41339 decimal), and is 1340 bytes long. ; RANDOMIZE USR 40000 to hear it. ; 40000 DI 40001 LD HL,1000 40004 LD (40282),HL 40007 LD IX,40290 40011 LD A,(IX,+0) 40014 INC A 40015 JP NZ,40060 40018 INC IX 40020 LD H,(IX,+1) 40023 LD L,(IX,+0) 40026 LD (40279),HL 40029 INC IX 40031 INC IX 40033 LD A,(IX,+0) 40036 LD (40284),A 40039 LD A,(IX,+1) 40042 LD (40282),A 40045 LD A,(IX,+2) 40048 LD (40287),A 40051 INC IX 40053 INC IX 40055 INC IX 40057 JP 40011 40060 LD A,(40282) 40063 LD (40283),A 40066 LD A,(40284) 40069 LD (40285),A 40072 LD BC,(40279) 40076 LD H,(IX,+0) 40079 LD L,(IX,+1) 40082 LD D,(IX,+2) 40085 LD E,10 40087 LD A,1 40089 LD (40281),A 40092 LD (40286),A 40095 CALL 40122 40098 XOR A 40099 IN A,(254) 40101 CPL 40102 AND 31 40104 JP NZ,40120 40107 INC IX 40109 INC IX 40111 INC IX 40113 LD A,(IX,+0) 40116 AND A 40117 JP NZ,40011 40120 EI 40121 RET 40122 PUSH BC 40123 LD A,(40281) 40126 LD C,A 40127 DEC H 40128 JR NZ,+17;40147 40130 XOR A 40131 OUT (254),A 40133 LD B,C 40134 DJNZ -2;40134 40136 LD A,16 40138 OUT (254),A 40140 SUB A,C 40141 LD B,A 40142 DJNZ -2;40142 40144 LD H,(IX,+0) 40147 DEC L 40148 JR NZ,+17;40167 40150 XOR A 40151 OUT (254),A 40153 LD B,C 40154 DJNZ -2;40154 40156 LD A,16 40158 OUT (254),A 40160 SUB A,C 40161 LD B,A 40162 DJNZ -2;40162 40164 LD L,(IX,+1) 40167 DEC D 40168 JR NZ,+17;40187 40170 XOR A 40171 OUT (254),A 40173 LD B,C 40174 DJNZ -2;40174 40176 LD A,16 40178 OUT (254),A 40180 SUB A,C 40181 LD B,A 40182 DJNZ -2;40182 40184 LD D,(IX,+2) 40187 DEC E 40188 JP NZ,40271 40191 LD E,10 40193 LD A,(40286) 40196 AND A 40197 JP Z,40239 40200 LD A,(40285) 40203 DEC A 40204 LD (40285),A 40207 JP NZ,40271 40210 LD A,(40284) 40213 LD (40285),A 40216 LD A,(40281) 40219 INC A 40220 LD (40281),A 40223 CP 15 40225 JP NZ,40271 40228 DEC A 40229 LD (40281),A 40232 XOR A 40233 LD (40286),A 40236 JP 40271 40239 LD A,(40283) 40242 DEC A 40243 LD (40283),A 40246 JP NZ,40271 40249 LD A,(40282) 40252 LD (40283),A 40255 LD A,(40281) 40258 DEC A 40259 LD B,A 40260 LD A,(40287) 40263 CP B 40264 JP Z,40271 40267 LD A,B 40268 LD (40281),A 40271 POP BC 40272 DEC BC 40273 LD A,B 40274 OR C 40275 JP NZ,40122 40278 RET 40279 NOP 40280 SUB A,(HL) 40281 INC C 40282 ADD A,B 40283 ADD A,B 40284 NOP 40285 NOP 40286 NOP 40287 LD BC,0 40290 RST 56 40291 LD H,B 40292 ADD HL,BC 40293 LD (BC),A 40294 LD BC,16650 40297 LD D,D 40298 LD L,L 40299 DEC A 40300 LD D,D 40301 LD L,L 40302 LD B,C 40303 LD D,D 40304 LD L,L 40305 LD C,C 40306 LD D,D 40307 LD L,L 40308 RST 56 40309 NOP 40310 SUB A,(HL) 40311 LD BC,406 40314 LD D,A 40315 LD H,D 40316 ADD A,E 40317 RST 56 40318 NOP 40319 SUB A,(HL) 40320 JP M,3840 40323 LD D,A 40324 LD H,D 40325 ADD A,E 40326 RST 56 40327 LD H,B 40328 ADD HL,BC 40329 INC B 40330 LD BC,21258 40333 LD E,L 40334 LD A,H 40335 LD B,(HL) 40336 LD E,L 40337 LD A,H 40338 LD A,93 40340 LD A,H 40341 LD B,(HL) 40342 LD E,L 40343 LD A,H 40344 LD E,L 40345 LD E,L 40346 LD A,H 40347 LD H,E 40348 LD E,L 40349 LD A,H 40350 LD E,L 40351 LD D,E 40352 LD A,H 40353 LD H,E 40354 LD D,E 40355 LD A,H 40356 LD L,(HL) 40357 LD D,E 40358 LD A,H 40359 LD A,H 40360 LD D,E 40361 LD A,H 40362 ADC A,H 40363 LD D,E 40364 LD A,H 40365 LD A,H 40366 LD D,E 40367 LD A,H 40368 LD L,A 40369 LD D,E 40370 LD A,H 40371 LD D,E 40372 LD D,E 40373 LD A,H 40374 RST 56 40375 LD H,B 40376 ADD HL,BC 40377 INC B 40378 LD BC,25610 40381 ADD A,L 40382 RET Z 40383 LD E,C 40384 ADD A,L 40385 RET Z 40386 LD D,H 40387 ADD A,L 40388 RET Z 40389 LD B,D 40390 ADD A,H 40391 RST 0 40392 LD D,H 40393 ADD A,L 40394 RET Z 40395 LD E,C 40396 ADD A,L 40397 RET Z 40398 LD H,H 40399 ADD A,L 40400 RET Z 40401 LD (HL),B 40402 ADD A,(HL) 40403 RET Z 40404 LD C,E 40405 SUB A,(HL) 40406 POP HL 40407 LD D,H 40408 SUB A,(HL) 40409 POP HL 40410 LD E,A 40411 SUB A,(HL) 40412 POP HL 40413 LD H,H 40414 SUB A,(HL) 40415 POP HL 40416 LD (HL),C 40417 SUB A,(HL) 40418 POP HL 40419 LD A,A 40420 SUB A,A 40421 POP HL 40422 LD (HL),C 40423 SUB A,(HL) 40424 POP HL 40425 LD H,H 40426 SUB A,(HL) 40427 POP HL 40428 LD C,(HL) 40429 SBC A,L 40430 EX DE,HL 40431 LD E,B 40432 SBC A,L 40433 EX DE,HL 40434 LD C,(HL) 40435 SBC A,L 40436 EX DE,HL 40437 LD B,D 40438 SBC A,H 40439 JP PE,40006 40442 EX DE,HL 40443 LD E,B 40444 SBC A,H 40445 EX DE,HL 40446 LD C,(HL) 40447 SBC A,L 40448 EX DE,HL 40449 LD E,B 40450 SBC A,L 40451 EX DE,HL 40452 LD C,(HL) 40453 SBC A,L 40454 EX DE,HL 40455 LD H,E 40456 SBC A,L 40457 EX DE,HL 40458 LD L,C 40459 SBC A,L 40460 EX DE,HL 40461 ADD A,H 40462 SBC A,L 40463 EX DE,HL 40464 HALT 40465 SBC A,L 40466 EX DE,HL 40467 HALT 40468 SBC A,L 40469 EX DE,HL 40470 HALT 40471 SBC A,L 40472 EX DE,HL 40473 HALT 40474 SBC A,L 40475 EX DE,HL 40476 LD E,B 40477 LD H,E 40478 RST 0 40479 LD E,B 40480 LD D,E 40481 ADD A,87 40483 LD B,C 40484 PUSH BC 40485 LD D,A 40486 SCF 40487 JP 25432 40490 RST 0 40491 LD E,B 40492 LD D,E 40493 ADD A,87 40495 LD B,C 40496 PUSH BC 40497 LD D,A 40498 SCF 40499 JP 25427 40502 RST 0 40503 LD D,E 40504 LD D,E 40505 ADD A,83 40507 LD B,C 40508 PUSH BC 40509 LD D,E 40510 SCF 40511 JP 25427 40514 RST 0 40515 LD D,E 40516 LD D,E 40517 ADD A,83 40519 LD B,C 40520 PUSH BC 40521 LD D,E 40522 SCF 40523 JP 25443 40526 RST 24 40527 LD H,E 40528 LD E,(HL) 40529 RST 24 40530 LD H,E 40531 LD C,D 40532 RST 24 40533 LD H,E 40534 LD A,223 40536 LD H,E 40537 LD H,E 40538 RST 24 40539 LD H,E 40540 LD E,(HL) 40541 RST 24 40542 LD H,E 40543 LD C,D 40544 RST 24 40545 LD H,E 40546 LD A,223 40548 LD E,L 40549 LD H,E 40550 RST 24 40551 LD E,L 40552 LD E,(HL) 40553 RST 24 40554 LD E,L 40555 LD C,D 40556 RST 24 40557 LD E,L 40558 LD A,223 40560 LD E,L 40561 LD H,E 40562 RST 24 40563 LD E,L 40564 LD E,(HL) 40565 RST 24 40566 LD E,L 40567 LD C,D 40568 RST 24 40569 LD E,L 40570 LD A,223 40572 LD L,A 40573 LD H,E 40574 RST 0 40575 LD L,A 40576 LD D,E 40577 ADD A,111 40579 LD B,C 40580 PUSH BC 40581 LD L,A 40582 SCF 40583 JP 25476 40586 RST 0 40587 ADD A,H 40588 LD D,E 40589 ADD A,132 40591 LD B,C 40592 PUSH BC 40593 ADD A,H 40594 SCF 40595 JP 25469 40598 RST 24 40599 LD A,L 40600 LD E,(HL) 40601 RST 24 40602 LD A,L 40603 LD C,D 40604 RST 24 40605 LD A,L 40606 LD A,223 40608 SUB A,H 40609 LD H,E 40610 RST 24 40611 SUB A,H 40612 LD E,(HL) 40613 RST 24 40614 SUB A,H 40615 LD C,D 40616 RST 24 40617 SUB A,H 40618 LD A,223 40620 ADD A,H 40621 LD H,E 40622 RST 0 40623 ADD A,H 40624 LD D,E 40625 ADD A,132 40627 LD B,C 40628 PUSH BC 40629 ADD A,H 40630 SCF 40631 JP 25455 40634 RST 0 40635 LD L,A 40636 LD D,E 40637 ADD A,111 40639 LD B,C 40640 PUSH BC 40641 LD L,A 40642 SCF 40643 JP 25443 40646 RST 0 40647 LD H,E 40648 LD D,E 40649 ADD A,99 40651 LD B,C 40652 PUSH BC 40653 LD H,E 40654 SCF 40655 JP 25443 40658 RST 0 40659 LD H,E 40660 LD D,E 40661 ADD A,99 40663 LD B,C 40664 PUSH BC 40665 LD H,E 40666 SCF 40667 JP 25443 40670 RST 0 40671 LD E,(HL) 40672 LD D,E 40673 ADD A,99 40675 LD B,C 40676 PUSH BC 40677 LD E,(HL) 40678 SCF 40679 JP 25443 40682 RST 0 40683 LD E,(HL) 40684 LD D,E 40685 ADD A,99 40687 LD B,C 40688 PUSH BC 40689 LD E,(HL) 40690 SCF 40691 JP 23901 40694 JP NC,22645 40697 JP NC,17756 40700 RST 8 40701 LD E,B 40702 LD A,(24016) 40705 LD E,L 40706 JP NC,22645 40709 JP NC,17756 40712 RST 8 40713 LD E,B 40714 LD A,(24016) 40717 LD E,L 40718 JP NC,22645 40721 JP NC,17756 40724 RST 8 40725 LD E,B 40726 LD A,(23760) 40729 LD E,H 40730 ADC A,E 40731 LD (HL),L 40732 LD E,B 40733 ADC A,E 40734 LD E,H 40735 LD B,L 40736 ADC A,E 40737 LD E,B 40738 LD A,(25483) 40741 LD H,E 40742 SBC A,99 40744 LD E,(HL) 40745 SBC A,99 40747 LD C,D 40748 LD HX,D 40750 LD A,220 40752 LD H,E 40753 LD H,E 40754 SBC A,99 40756 LD E,(HL) 40757 SBC A,99 40759 LD C,D 40760 LD L,A 40761 LD H,D 40762 LD A,220 40764 LD H,E 40765 LD H,E 40766 SUB A,H 40767 LD H,E 40768 LD E,(HL) 40769 RET M 40770 LD H,E 40771 LD C,D 40772 SUB A,H 40773 LD H,D 40774 LD A,248 40776 LD H,E 40777 LD H,E 40778 RET M 40779 LD H,E 40780 LD E,(HL) 40781 RET M 40782 LD H,E 40783 LD C,D 40784 RET M 40785 LD H,D 40786 LD A,248 40788 RST 56 40789 LD H,B 40790 ADD HL,BC 40791 LD BC,3329 40794 LD H,E 40795 LD H,E 40796 RET M 40797 LD H,E 40798 LD E,(HL) 40799 RET M 40800 LD H,E 40801 LD C,D 40802 RET M 40803 LD H,D 40804 LD A,248 40806 LD H,E 40807 LD H,E 40808 RET M 40809 LD H,E 40810 LD E,(HL) 40811 RET M 40812 LD H,E 40813 LD C,D 40814 RET M 40815 LD H,D 40816 LD A,248 40818 LD L,A 40819 LD H,E 40820 RET M 40821 LD L,A 40822 LD E,(HL) 40823 RET M 40824 LD L,A 40825 LD C,D 40826 RET M 40827 LD L,A 40828 LD A,248 40830 LD L,A 40831 LD H,E 40832 RET M 40833 LD L,A 40834 LD E,(HL) 40835 RET M 40836 LD L,A 40837 LD C,D 40838 RET M 40839 LD L,A 40840 LD A,248 40842 RST 56 40843 RET NZ 40844 LD (DE),A 40845 LD BC,3329 40848 LD C,D 40849 LD E,C 40850 SBC A,83 40852 LD H,E 40853 CALL C,28505 40856 SBC A,83 40858 LD H,E 40859 CALL C,31843 40862 LD SP,HL 40863 LD E,B 40864 LD L,A 40865 LD SP,HL 40866 LD C,D 40867 LD E,B 40868 LD SP,HL 40869 LD E,B 40870 LD L,A 40871 LD SP,HL 40872 RST 56 40873 LD H,B 40874 ADD HL,BC 40875 LD BC,3329 40878 LD D,A 40879 LD L,B 40880 ADD A,E 40881 LD L,B 40882 LD L,B 40883 ADD A,E 40884 ADD A,E 40885 LD L,B 40886 ADD A,E 40887 LD H,D 40888 LD L,B 40889 ADD A,E 40890 LD L,B 40891 LD L,B 40892 ADD A,E 40893 ADD A,E 40894 LD L,B 40895 ADD A,E 40896 LD H,D 40897 LD L,A 40898 SUB A,H 40899 LD L,A 40900 LD L,A 40901 SUB A,H 40902 SUB A,H 40903 LD L,A 40904 SUB A,H 40905 LD E,B 40906 LD L,A 40907 SUB A,H 40908 LD L,A 40909 LD L,A 40910 SUB A,H 40911 SUB A,H 40912 LD L,A 40913 SUB A,H 40914 LD D,A 40915 LD L,B 40916 ADD A,E 40917 LD L,B 40918 LD L,B 40919 ADD A,E 40920 ADD A,E 40921 LD L,B 40922 ADD A,E 40923 LD H,D 40924 LD L,B 40925 ADD A,E 40926 LD L,B 40927 LD L,B 40928 ADD A,E 40929 ADD A,E 40930 LD L,B 40931 ADD A,E 40932 LD H,D 40933 LD L,A 40934 SUB A,H 40935 LD L,A 40936 LD L,A 40937 SUB A,H 40938 SUB A,H 40939 LD L,A 40940 SUB A,H 40941 HALT 40942 LD L,A 40943 SUB A,H 40944 LD L,A 40945 LD L,A 40946 SUB A,H 40947 SUB A,H 40948 LD L,A 40949 SUB A,H 40950 RST 56 40951 LD H,B 40952 ADD HL,BC 40953 LD BC,286 40956 LD L,A 40957 SUB A,H 40958 SBC A,111 40960 SUB A,H 40961 SBC A,111 40963 SUB A,H 40964 SBC A,111 40966 SUB A,H 40967 SBC A,125 40969 AND (HL) 40970 SBC A,111 40972 SUB A,H 40973 SBC A,125 40975 AND (HL) 40976 SBC A,111 40978 SUB A,H 40979 SBC A,93 40981 ADC A,H 40982 SBC A,111 40984 ADC A,H 40985 SBC A,111 40987 ADC A,H 40988 SBC A,111 40990 ADC A,H 40991 SBC A,125 40993 ADC A,H 40994 SBC A,111 40996 ADC A,H 40997 SBC A,93 40999 ADC A,H 41000 SBC A,111 41002 ADC A,H 41003 SBC A,83 41005 LD A,H 41006 SBC A,99 41008 LD A,H 41009 SBC A,124 41011 LD A,H 41012 SBC A,149 41014 LD A,H 41015 SBC A,124 41017 LD A,H 41018 SBC A,99 41020 LD A,H 41021 SBC A,83 41023 LD A,H 41024 SBC A,93 41026 LD A,H 41027 SBC A,99 41029 LD A,H 41030 SBC A,124 41032 LD A,H 41033 SBC A,111 41035 LD L,A 41036 SBC A,111 41038 LD L,A 41039 SBC A,111 41041 LD L,A 41042 SBC A,111 41044 LD L,A 41045 SBC A,111 41047 LD L,A 41048 SBC A,111 41050 LD L,A 41051 SBC A,111 41053 LD L,A 41054 SBC A,111 41056 LD L,A 41057 SBC A,111 41059 LD L,A 41060 SBC A,255 41062 RET NZ 41063 LD (DE),A 41064 LD BC,0 41067 RET PO 41068 POP HL 41069 JP PO,57824 41072 JP PO,24831 41075 ADD HL,BC 41076 LD BC,10240 41079 LD E,L 41080 LD A,H 41081 SUB A,E 41082 RET PO 41083 POP HL 41084 JP PO,57824 41087 JP PO,31837 41090 SUB A,E 41091 RET PO 41092 POP HL 41093 JP PO,57824 41096 JP PO,31837 41099 SUB A,E 41100 RET PO 41101 POP HL 41102 JP PO,33023 41105 DEC H 41106 LD BC,7680 41109 LD H,D 41110 LD A,H 41111 AND L 41112 RST 56 41113 LD H,B 41114 ADD HL,BC 41115 LD BC,512 41118 DEC A 41119 LD A,D 41120 CP B 41121 LD B,L 41122 LD L,(HL) 41123 CP B 41124 LD C,C 41125 LD A,D 41126 CP B 41127 LD (HL),109 41129 AND E 41130 DEC A 41131 LD H,C 41132 AND E 41133 LD B,C 41134 LD L,L 41135 AND E 41136 DEC A 41137 LD A,D 41138 CP B 41139 LD B,L 41140 LD L,(HL) 41141 CP B 41142 LD C,C 41143 LD A,D 41144 CP B 41145 LD (HL),109 41147 AND E 41148 DEC A 41149 LD H,C 41150 AND E 41151 LD B,C 41152 LD L,L 41153 AND E 41154 RST 56 41155 RET NZ 41156 LD (DE),A 41157 LD BC,10240 41160 RET PO 41161 POP HL 41162 JP PO,57824 41165 JP PO,24831 41168 ADD HL,BC 41169 LD BC,10240 41172 LD E,L 41173 LD A,H 41174 SUB A,E 41175 RET PO 41176 POP HL 41177 JP PO,57824 41180 JP PO,31837 41183 SUB A,E 41184 RET PO 41185 POP HL 41186 JP PO,57824 41189 JP PO,31837 41192 SUB A,E 41193 RET PO 41194 POP HL 41195 JP PO,33023 41198 DEC H 41199 LD BC,7680 41202 LD D,D 41203 LD L,L 41204 ADD A,D 41205 RST 56 41206 LD H,B 41207 ADD HL,BC 41208 LD BC,512 41211 DEC A 41212 LD A,D 41213 CP B 41214 LD B,L 41215 LD L,(HL) 41216 CP B 41217 LD C,C 41218 LD A,D 41219 CP B 41220 LD (HL),109 41222 AND E 41223 DEC A 41224 LD H,C 41225 AND E 41226 LD B,C 41227 LD L,L 41228 AND E 41229 LD B,L 41230 ADC A,D 41231 RST 8 41232 LD C,(HL) 41233 LD A,H 41234 RST 8 41235 LD D,E 41236 ADC A,E 41237 RET NC 41238 DEC A 41239 LD A,D 41240 CP B 41241 LD B,L 41242 LD L,(HL) 41243 CP B 41244 LD C,C 41245 LD A,D 41246 CP B 41247 LD C,(HL) 41248 SBC A,H 41249 JP PE,35928 41252 JP PE,40286 41255 EX DE,HL 41256 LD B,L 41257 ADC A,D 41258 RST 8 41259 LD C,(HL) 41260 LD A,H 41261 RST 8 41262 LD D,E 41263 ADC A,E 41264 RET NC 41265 DEC A 41266 LD A,D 41267 CP B 41268 LD B,L 41269 LD L,(HL) 41270 CP B 41271 LD C,C 41272 LD A,D 41273 CP B 41274 LD (HL),109 41276 AND E 41277 DEC A 41278 LD H,C 41279 AND E 41280 LD B,C 41281 LD L,L 41282 AND E 41283 JR NC,+96;41381 41285 SUB A,B 41286 LD (HL),86 41288 SUB A,B 41289 ADD HL,SP 41290 LD H,B 41291 SUB A,B 41292 LD (HL),86 41294 SUB A,B 41295 JR NC,+96;41393 41297 SUB A,B 41298 LD (HL),86 41300 SUB A,B 41301 ADD HL,SP 41302 LD H,B 41303 SUB A,B 41304 LD (HL),86 41306 SUB A,B 41307 JR NC,+96;41405 41309 SUB A,B 41310 LD (HL),86 41312 SUB A,B 41313 ADD HL,SP 41314 LD H,B 41315 SUB A,B 41316 LD (HL),86 41318 SUB A,B 41319 JR NC,+96;41417 41321 SUB A,B 41322 LD (HL),86 41324 SUB A,B 41325 ADD HL,SP 41326 LD H,B 41327 SUB A,B 41328 LD (HL),86 41330 SUB A,B 41331 RST 56 41332 NOP 41333 SUB A,(HL) 41334 NOP 41335 ADD A,B 41336 LD BC,24633 41339 SUB A,B