Drawing a complex figure such as a ying-yang symbol in Z80 assembly for the ZX Spectrum is a challenging task. The ZX Spectrum does not have native graphics functions, so one would typically draw a ying-yang symbol by either directly manipulating the memory that corresponds to the screen (which is a rather complicated task) or by using a pre-defined ying-yang symbol sprite (a bitmap picture).
A simple way to accomplish this task would be to use a ZX Spectrum graphics editor to create your ying-yang symbol as a sprite, then load that sprite into your program and draw it to the screen. Here's an example of how you might load and display a sprite:
LD HL, SpriteData ; Address of the sprite data in memory
LD DE, ScreenAddress ; Address on the screen where you want to place the sprite
LD BC, SpriteSize ; Size of the sprite in bytes (8 bytes per line)
CALL LoadSprite
; ...
LoadSprite:
; Loads a sprite from memory at HL to screen at DE
; BC is the size of the sprite in bytes
PUSH BC
LD A, (HL)
LD (DE), A
INC HL
INC DE
POP BC
DEC BC
LD A, B
OR C
JP NZ, LoadSprite
RET
SpriteData:
; Your sprite data goes here
; ...
The LoadSprite subroutine loads one byte at a time from the sprite data at HL and stores it to the screen at DE, then increments both pointers. It decrements BC after each byte and repeats until BC is zero.
The SpriteData is where you would put the data for your ying-yang symbol sprite.
Please note that this is just a basic example, and actual implementation may vary depending on the specific requirements. Also, drawing a ying-yang symbol in assembly would require understanding of how to render graphics on the ZX Spectrum, how to create sprites, and also some artistic skills to create the actual ying-yang symbol sprite.