Learning Challenge: ZX Spectrum machine code: Day 18

Day 18 and I played with the looping / comparison in Z80 machine code on the ZX Spectrum. I did the exercise of popping 50 numbers on the stack (reduced to 3 as I didn't want to wait while single-stepping though 50 numbers). Here's the results of my assembly code:

Code listing

Pretty fun stuff.