reset: MOV _word_ptr[0], 1 //Set Memory Value to 1 loop: MOV AX, _word_ptr[0] //Move Memory Value into AX CMP AX, 0x7FFF //Compare AX to 0x7FFF JE reset //If Equal, Reset memory value back to 1 INC _word_ptr[0] //Otherwise increment the value in memory by 1 JMP loop //Continue the Loop