Search
Saturday, 12th of May 2018, 14:46:49 UTC
19:06:17
ebrasca
Does order of input in assambler instruction mater?
19:08:02
froggey
you mean the order of the instruction definitions in the assembler or the order of instructions in a list of instructions being assembled?
19:08:26
ebrasca
(define-instruction fmrgow (frt fra frb) ...
19:09:31
froggey
not really, but it's best to use same order that the order the manual uses
19:09:57
froggey
I find it gets confusing when you have to convert from one order to the other
19:15:25
ebrasca
In instruction lfdp page 149 link https://wiki.raptorcs.com/wiki/File:PowerISA_public.v3.0B.pdf
19:16:59
ebrasca
In pfg is writen this lfdp FRTp,DS(RA) + small image
19:17:17
ebrasca
I allways folow order of image.
19:20:15
froggey
"ldfp FRTp, DS(RA)" is the order that objdump uses, right?
19:20:47
froggey
I'd use that, the image is a representation of how the operands are laid out in the encoded instruction
19:23:40
ebrasca
Is this (define-instruction ldfp (FRTp DS RA) ...) what you sugest ?
19:26:54
ebrasca
Do you have some idea for making assembler and disassembler work together?
19:30:03
ebrasca
In power all instructions start with po of 6 bits and some have xo later.
20:41:18
ebrasca
I probably can make dissambler work good with power but other architectures...
20:43:00
froggey
yeah, x86 is a challenge
20:43:53
ebrasca
I think for me is better to whait someting with my talos progress.
20:44:11
ebrasca
Dissembler is inportand part.
20:45:43
ebrasca
Do you understand about 32 bits mode and 64 bits mode?
20:46:49
froggey
on x86 I do, but not on power
20:48:26
ebrasca
Do you think whe can make 1 dissambler work for all artitectures?
20:49:42
froggey
there would have to be architecture specific and architecture independent parts, like the assembler
20:50:40
ebrasca
But it is better than 100% separate.
21:31:32
fittestbits
froggey - just created a PR - fixed a few problems with random - sorry my first version was so bad.
21:39:05
froggey
no problem. it's actually random, which is a big improvement on the original
22:01:12
ebrasca
Have someone tested my fat32 implementation?
Sunday, 13th of May 2018, 2:46:49 UTC