aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbcgen2
1 files changed, 1 insertions, 1 deletions
diff --git a/bcgen b/bcgen
index 0165512..30fd381 100755
--- a/bcgen
+++ b/bcgen
@@ -219,7 +219,7 @@ def num_imms(fmt):
def gen_hash(fmt):
n = 0
i = 0
- r = ""
+ r = "0"
for p in fmt[1:]:
if p == 'R' or p == 'F':
r += ' + (a' + str(n) + ' << (' + str(i) + ' * 8))'