;============================================================================== ;file :xyPrime.asm ;author :Andre Long ;due :April 19, 2006 ;description :This subprocedure will set the al register to zero to generate ; prime numbers ;============================================================================== ;Procedures INCLUDE Pcmac.inc ;macros ;============================================================================== .MODEL SMALL .586 .STACK 1000h ;============================================================================== .DATA EXTRN step:WORD ;============================================================================== .CODE PUBLIC xyPrime xyPrime proc cmp bx, step je skip jmp place place: mov al, 0 skip: ret xyPrime endp end