All pastes #742254 Raw Edit

Something

public text v1 · immutable
·published 2007-10-19 11:16 UTC
rendered paste body
;***************************************************************************  
;* Løsningsforslag til Dark-oppgavene i AOC høsten 2003.                   * 
;* Beregning av minste verdi på stakkmaskinarkitektur.                     * 
;* Per Kristian Lehre <lehre@idi.ntnu.no>                                  * 
;*************************************************************************** 
main

loop
	swap
	dup
	jfalse done
	dup
	rot
	swap
	dup
	rot
	lt
	jtrue less
	swap
less	
	drop
	jmp loop
done
	drop
end main