March 02, 2021, 02:38:55 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
   Home   Help Search Login Register  
Pages: [1]
Author Topic: compiled numbers  (Read 1425 times)
Posts: 38

« on: June 14, 2006, 06:10:23 PM »

are all compiled numbers in an executable
translated to the hexadecimal format?
how would be translated? COLOR 0,7
Forum Regular
Posts: 109

« Reply #1 on: June 14, 2006, 09:25:44 PM »

No.  A program that has been compiled into an .EXE file has generally been converted to x86 machine code, and all numerical data is stored in little endian binary.  Many debuggers and hex editor will display this data in hexadicimal notation (that's what hex editors do!).  If you'd like to an assembly language representation of the machine code your program is translated into, compile your source from the command line with BC.EXE and the "-a" option. When your are prompted for a list file, enter anything other than NUL.LST.  The file name you supply will contain the assembly code for your program and data.
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!