logs archiveIRC Archive / Undernet / #asm / 2006 / March / 13 / 1
_exe
Ashe` are you awake?
Inode
.dasm c6c5
wisebot
Inode:
-------------------------------------------------
00000000 C6 db 0xC6
00000001 C5 db 0xC5
-------------------------------------------------
Inode
.dasm 41c6c5
wisebot
Inode:
-------------------------------------------------
00000000 41 inc ecx
00000001 C6 db 0xC6
00000002 C5 db 0xC5
-------------------------------------------------
Inode
.dasm e8
wisebot
Inode:
-------------------------------------------------
00000000 E8 db 0xE8
-------------------------------------------------
Hutley
.dasm ff
wisebot
Hutley:
-------------------------------------------------
00000000 FF db 0xFF
-------------------------------------------------
         

Hutley
why this?
_exe
Why is what?
Hutley
wisebot says
is util for what?
_exe
.dasm cb
wisebot
_exe:
-------------------------------------------------
00000000 CB retf
-------------------------------------------------
_exe
I find it util.
Inode
.dasm d8
wisebot
Inode:
-------------------------------------------------
00000000 D8 db 0xD8
-------------------------------------------------
Hutley
WHen i use the RegOpenKeyEx and later i use the RegSetValueEx . the first erase the value of variable used in second api. Whats error?
Jojo`
if i'm limited to using only: ADD, AND, and NOT instructions along w/ the branch if negative,zero, or positive, how can i check to see if a value is between lets say, 1 and 25?
edcba
we don't do homework here
Jojo`
not doing homework
edcba
what is it then ?
Jojo`
i know in masm there are built in instructions to check for less than or greater than
i'm trying to understand
the routine underneath it
edcba
x>25 is x-25>0
it is all the maths you need to know
Jojo`
that would check the upper limit
what about greater than 1 AND less than 25
edcba
1<x<25 is 0<1-x and x-25<0
that is x+1>0 and x-25<0
Jojo`
i see
ty
ok now writing that out as an assembly routine(if the value we are testing was held in register R6): ADD R5, R6, #1; BRp Next; Next ADD R5, R6, #-25; BRn done;
does that make any sense to u?
=/
edcba
conditional branching to the next instruction is quite stupid
Jojo`
well assuming there would be other jumps in between if it wasn't the case
i guess what i'm confused on is, how would i check if the first condition was true AND the second condition
         

edcba
if (cond1 && cond2) xxx; is the same than if (cond1) if (cond2) xxx;
Jojo`
when u say "if", do u mean a branch?
edcba
you don't know C
Jojo`
i know C, but in asm u don't do ifs
edcba
can't you translate a simple if in asm ?
Jojo`
i'm just learning it
i'm a newbie
edcba
if (cond1) xxx; is if (!cond1) goto next; xxx; next:
Jojo`
ok
and how about two conditions?
edcba
i already said you
the only thing i didn't tell you is !(a || b) == (!a && !b)
Jojo`
de morgans
edcba
now you can do what you want
Jojo`
k
edcba
indeed
Jojo`
ty
Ever|asT
?? tca
wisebot
Ever|asT: TCA -> General Major Thomas Colin Archer, Chief of Joint Warfare Center NATO
Ever|asT: TCA -> Terminal Controlled Airspace
`SiD
Morning.
Ingersol
morning
i searching for good x86 commands description utility (mnemonics/code/description) like mnemonix2 from masm
anyone use similar thing?
Subw00fer
hrm
havent used that in 18 years lol
Ingersol
so now you can remember e8xxxx - call near ?
Subw00fer
but it should be tracable by using google
man that was in 1988
programming a 8088 lol
Ingersol
google... "x86 command utility list" and similar requests didnt work
Subw00fer
http://www.olemiss.edu/courses/EE/ELE_485/Fall2001/Handouts/8088_instruction_set_summary_rev.htm
Ingersol
)
Subw00fer
which cpu of the x86 family are you programming with?
Ingersol
basic set
386+mmx
but
man )
i known they
i just need nice tool for remember codes
and commands
Subw00fer
oh
u mean a program on the computer?
Ingersol
sure
small sticky popup window
Subw00fer
oh
yeah that would be a nice tool to have
Ingersol
yep
after ~hour of finding i now think it need to be developed myself :/
finding - searching
Subw00fer
hrm
u can still go for that...
http://en.wikipedia.org/wiki/X86_instruction_listings
put it on a shortcut on the quicklaunch pannel
Ingersol
webbased, havent search option and totally bad. but it can be good source )
Subw00fer
it seems pretty complete
the last one
take a look
Ingersol
yep. just enumeration
havent description, codes, used registers
Subw00fer
oh... u need the intel manual lol
Ingersol
true
Subw00fer
http://home.comcast.net/~fbui/intel.html
Ingersol
intel manual + good program for viewing it
Sub ) i have ~ 10 years asm experience and don't need well-known links )
Subw00fer
nah... what you need indeed is a voice recognition software so you can say the instruction and you get all the details without leaving your programming environment right? *lol* I think you're a bit lazy
Ingersol
hehe
it's ideal )
Subw00fer
being lazy?
;)
Ingersol
why not?
Subw00fer
I know
I am
lol
King of laziness
Ingersol
well. if i dont found any tool i'll make it.
Subw00fer
why asm on intel?
Ingersol
arm some days
Subw00fer
almost every other cpu around is easier to program
Ingersol
hmhm
i dont think plc programming is more easy
Subw00fer
I've programmed motorola, rockwell, intel... and I really hate intel lol...
plc? you're in automation?
Ingersol
was )
Subw00fer
I have studied in that domain
Ingersol
hate electronics
Subw00fer
love
lol
:)
Ingersol
)
1 2 next »