diff options
Diffstat (limited to 'test/data/parse/makeopv.pl')
-rwxr-xr-x | test/data/parse/makeopv.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/data/parse/makeopv.pl b/test/data/parse/makeopv.pl index 8961d48..f997528 100755 --- a/test/data/parse/makeopv.pl +++ b/test/data/parse/makeopv.pl @@ -7,5 +7,5 @@ die "Usage: makeopv.pl <opcode> <flags> <value>\n" if (@ARGV != 3); my ($opcode, $flags, $value) = @ARGV; -printf("0x%.8x\n", hex($opcode) | hex($flags) << 10 | hex($value) << 18); +printf("0x%.8x\n", oct($opcode) | oct($flags) << 10 | oct($value) << 18); |