flat assembler
Message board for the users of flat assembler.

Index > Windows > Table Hex Codes

Author
Thread Post new topic Reply to topic
yacko



Joined: 11 Jan 2006
Posts: 2
yacko
Hi guys, i was wondering how its possible to make a table but with hex codes

for example have this :

90,41,DC,76,06,71,DB,01,BC,20,D2,98,2A,10,D5,EF,
89,85,B1,71,1F,B5,B6,06,A5,E4,BF,9F,33,D4,B8,E8,
A2,C9,07,78,34,F9,00,0F,8E,A8,09,96,18,98,0E,E1


(the full table is 1040b)

thanks in advance

yacko
Post 11 Jan 2006, 11:40
View user's profile Send private message Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1608
Location: Ukraine
shoorick
db 90h,41h,DCh,76h,06h,71h,DBh,01h,BCh,20h,D2h,98h,2Ah,10h,D5h,EFh
?

bin2inc ?

file "table.bin"
Post 11 Jan 2006, 13:51
View user's profile Send private message Visit poster's website Reply with quote
RedGhost



Joined: 18 May 2005
Posts: 443
Location: BC, Canada
RedGhost
a leading '$' or '0x' will tell fasm it's base 16 (hexidecimal) or a following 'h'
Code:
;hex
$0A
0x0A
0Ah
    

_________________
redghost.ca


Last edited by RedGhost on 11 Jan 2006, 19:33; edited 1 time in total
Post 11 Jan 2006, 18:17
View user's profile Send private message AIM Address MSN Messenger Reply with quote
crc



Joined: 21 Jun 2003
Posts: 637
Location: Penndel, PA [USA]
crc
Quote:
a following '$' or '0x' will tell fasm it's base 16 (hexidecimal) or a leading 'h'


I think you mixed up the terms following and leading there... Smile
Post 11 Jan 2006, 18:53
View user's profile Send private message Visit poster's website Reply with quote
RedGhost



Joined: 18 May 2005
Posts: 443
Location: BC, Canada
RedGhost
crc wrote:
Quote:
a following '$' or '0x' will tell fasm it's base 16 (hexidecimal) or a leading 'h'


I think you mixed up the terms following and leading there... Smile


that i did, Laughing
fixed Cool

_________________
redghost.ca
Post 11 Jan 2006, 19:32
View user's profile Send private message AIM Address MSN Messenger Reply with quote
yacko



Joined: 11 Jan 2006
Posts: 2
yacko
thanks you guys !!

Smile
Post 12 Jan 2006, 00:25
View user's profile Send private message Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2140
Location: Estonia
Madis731
I think you got it fixed, but here is a tip (for any new guys visiting this topic later):
Code:
90,41,DC,76,06,71,DB,01,BC,20,D2,98,2A,10,D5,EF,
89,85,B1,71,1F,B5,B6,06,A5,E4,BF,9F,33,D4,B8,E8,
A2,C9,07,78,34,F9,00,0F,8E,A8,09,96,18,98,0E,E1 
    

FASMW has a replace function and you can replace "," => "h," here
Then you only have to change the last E1 manually.
Post 12 Jan 2006, 11:11
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.