Vladimir Kononovich

Results 127 comments of Vladimir Kononovich

What do you mean? For example I have: ``` define token instruction(8) op1=(0,7) op2=(0,7) reg1=(0,7) reg2=(0,7) ; define pcodeop regs_the_same; ``` And I have the following opcode: ``` :opcode1 is...

Some macroses are much greater in size, so I also need to check two bytes at 16 bytes distance. I don't think that I can use such a big tokens...

Defining such a big tokens makes Ghidra impossible to compile my language because of timeout: ``` define token big1(360) big1_x08 = (64,71) big1_x08_ = (64,71) big1_x11 = (136,143) big1_x11_ =...

That was my idea to implement macro instructions:)

Token definitions: ``` var: var_idx_c is var_segm=0xC & b9_11=0 & var_idx_c { v:4 = var_idx_c; export v; } var: var_idx_d is var_segm=0xD & b9_11=0 & var_idx_d { v:4 = var_idx_d;...

Good: ![image](https://github.com/NationalSecurityAgency/ghidra/assets/7189309/a700799e-1a1b-4f98-8870-8fee5572ca9d) Wrong: ![image](https://github.com/NationalSecurityAgency/ghidra/assets/7189309/6bbf6ace-b6a0-44c8-9f5b-5b80d9bf3df7)

I believe it's not enough space to store some state for registers, that's why it resets.

Solved by specifying in my cspec: ``` ``` I don't know an exact value to use.

Any updates? I see many useful solutions, but no one is merged yet!

800x600 8 bit mode works ok. But it requires picasso96 drivers installation.