1 .define hol0, argv, envp, begbss
2 .define .ignmask,.reghp,.trapproc,.fra
3 .define .retadr,.retadr1,.areg,.bcreg,.tmp1
4 .define block1, block2, block3
13 lxi h,0x1000 ! stack will grow from 0x1000 downwards
16 lxi h,begbss ! clear bss
22 mov d,a ! de now contains endbss - begbss
32 lxi h,envp ! call main
50 .retadr: .space 2 ! used to save return address
51 .retadr1: .space 2 ! reserve
52 .bcreg: .space 2 ! used to save localbase
55 .fra: .space 8 ! 8 bytes function return area
56 block1: .space 4 ! used by 32 bits divide and
57 block2: .space 4 ! multiply routines