Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
3rd January 2009, 16:29 | #1 | Link |
Custom user
Join Date: Jul 2007
Location: Poland
Posts: 70
|
Hex bit operands plugin v0.8 for PgcEdit (2009.02.05)
As of PgcEdit 9.1 release I may present you my little plugin for this excellent program (as already announced by r0lZ).
Hex bit operands requires PgcEdit version 9.1 or later to function. If you use it with any previous version the plugin will be disabled - in this case upgrading PgcEdit to a supported version will not enable plugin by default, you'll have to do it manually. The plugin allows to display operands of SET bit operations (|=(or), &=(and), ^=(xor)) and bit comparison (&) in hexadecimal notation. The second function of the plugin is to display descriptions of bit operations. A few examples of the plugin-enabled output: Code:
Set gprm(0) &=(and) 0x0000 (clear all bits) Set gprm(0) &=(and) 0xFCE2 (preserve bits 1, 5-7, 10-15) Set gprm(0) &=(and) 0xFFEF (clear bit 4) Set gprm(0) |=(or) 0xFFEF (set bits 0-3, 5-15) Set gprm(0) |=(or) 0x0000 Set gprm(0) ^=(xor) 0xFFEF (toggle bits 0-3, 5-15) Set gprm(0) ^=(xor) 0xFFFF (toggle all bits) if ( gprm(0) & 0x0314 ) then { Set gprm(0) ^=(xor) gprm(0)} As you can see, the description is not added to bit comparison, because the output would be too cluttered. To download the plugin go to the "Plugins" section of r0lZ's homepage (http://download.videohelp.com/r0lZ/pgcedit/#plugins) Please post any feedback in this thread. Thank you for your attention. edit: As in case of any changes to the plugin I will not force r0lZ to update his homepage, I created an alternative link to the latest version of the plugin: http://members.elysium.pl/morris/pro...plugin_v08.rar
__________________
M.O.R.R.I.S.: Mechanical Obedient Replicant Responsible for Infiltration and Sabotage morris#rarlab*com Last edited by M_Knox; 5th February 2009 at 18:44. |
5th February 2009, 18:54 | #4 | Link |
Custom user
Join Date: Jul 2007
Location: Poland
Posts: 70
|
hexbitoperands plugin v0.8
I slightly updated the plugin, so it now allows display descriptions in comparison operations (that one was for you, blutach! ). I've also added an option to enable hexadecimal output for all Set operations (like simple assignment, addition, multiplication, etc.) - but these operations do not have descriptions.
For the download link please see the first post in this thread. Thank you for your attention.
__________________
M.O.R.R.I.S.: Mechanical Obedient Replicant Responsible for Infiltration and Sabotage morris#rarlab*com |
Tags |
hexadecimal, operands, pgcedit, plugin |
|
|