diff --git a/tools/spasm/spasm.cpp b/tools/spasm/spasm.cpp
index 4745315f47f45070b6dd5552375700feb42cc816..217aadc57c0cd8fbd431aa79cd69ae3eaf10bd63 100755
--- a/tools/spasm/spasm.cpp
+++ b/tools/spasm/spasm.cpp
@@ -195,10 +195,11 @@ void a2bspri(const vector<string> &input,const string &outFilename, const string
 	else	
 		srand(getpid());
 
-	/* make start at 0xff00000000000000 for x86-64 */
+	/* make start at FF0xxxxxxxxxxxxxxxxx for x86-64 */
 	if(elfiop.get_class()==ELFCLASS64) 
 	{
 		bits=64;
+      vpc += (rand() & 0x000fffff);
 		vpc<<=32;
 		vpc += rand();
 	}