News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

NOOB Question: How to display data types

Started by i3fan8760, September 21, 2009, 08:21:15 PM

Previous topic - Next topic

i3fan8760

Hi,

I am trying to display all the variables i declared and initialized in the .data in cmd.. How do i do that?? Thanks in advance..

TITLE Data Definitions (dTypes.asm)

; Description: Displays all data types values

INCLUDE Irvine32.inc

.data
val1 BYTE 'A' ;Charcter Constant
val2 SBYTE -127 ;Signed Byte
word1 WORD 222 ;unsigned word
word2 SWORD -23394 ;signed word
val3 DWORD 12345678 ;unsigned DWORD
val4 SDWORD -1234543 ;signed DWORD
val5 QWORD 123456781234567890
val6 TBYTE 123456789876543212345678

.code
main PROC


exit
main ENDP
END main