How do I code the Icon the program displays in the top left corner please? Thanks.
Use the window class structure:
static
wc : w.WNDCLASSEX;
...
w.LoadIcon( NULL, val <icon resource value>);
mov( eax, wc.hIconSm );