Changeset 30 in XOpenSparcT1 for trunk/tools/dump2hex.php
- Timestamp:
- 04/05/11 20:08:31 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/dump2hex.php
r26 r30 6 6 7 7 // Discard first lines 8 for($i=0; $i< 8; $i++) fgets($fp);8 for($i=0; $i<7; $i++) fgets($fp); 9 9 10 10 // instruction start at address 10h 11 11 //echo "@ 10\n"; 12 12 echo "// inserisco 16 ff per partire da 10h e scrivo op4,op3,op2,op1 \n"; 13 echo "ffff\n"; 14 echo "ffff\n"; 15 echo "ffff\n"; 16 echo "ffff\n"; 17 echo "ffff\n"; 18 echo "ffff\n"; 19 echo "ffff\n"; 20 echo "ffff\n"; 21 echo "ffff\n"; 22 echo "ffff\n"; 23 echo "ffff\n"; 24 echo "ffff\n"; 25 echo "ffff\n"; 26 echo "ffff\n"; 27 echo "ffff\n"; 28 echo "ffff\n"; 13 echo "0001\n"; 14 echo "0000\n"; 15 echo "0001\n"; 16 echo "0000\n"; 17 echo "0001\n"; 18 echo "0000\n"; 19 echo "0001\n"; 20 echo "0000\n"; 21 echo "0001\n"; 22 echo "0000\n"; 23 echo "0001\n"; 24 echo "0000\n"; 25 echo "0001\n"; 26 echo "0000\n"; 27 echo "0001\n"; 28 echo "0000\n"; 29 29 30 // Print only the opcodes to stdout 30 31 while (!feof($fp)) {
Note: See TracChangeset
for help on using the changeset viewer.