Update of /cvsroot/wisp/wisp/users/dig
In directory sc8-pr-cvs1:/tmp/cvs-serv9720
Modified Files:
makehello.py
Log Message:
dropped binround_down and binround_up from makehello.py
Index: makehello.py
===================================================================
RCS file: /cvsroot/wisp/wisp/users/dig/makehello.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- makehello.py 8 Apr 2003 22:18:10 -0000 1.20
+++ makehello.py 8 Apr 2003 22:24:02 -0000 1.21
@@ -9,11 +9,6 @@
from linkie import Linkie
from elf import *
-def binround_down (x, unit):
- return x & ~(unit - 1)
-def binround_up (x, unit):
- return (x | (unit - 1)) + 1
-
code = Linkie('<') # ia32
code.place_symbol('&_start')
code.emit_byte(0xBA); code.emit_tetra(14) # mov edx, 14
|