BrawlCrate v0.41
Wii File Editor
Loading...
Searching...
No Matches
Classes | Enumerations
BrawlLib.Internal.PowerPCAssembly Namespace Reference

Classes

class  OpFcmpu
 
class  OpRlwmn
 
class  PowerPC
 
class  PPCAdd
 
class  PPCAddi
 
class  PPCAddic
 
class  PPCAnd
 
class  PPCAndi
 
class  PPCBc
 
class  PPCbctr
 
class  PPCblr
 
class  PPCBranch
 
class  PPCbx
 
class  PPCCmp
 
class  PPCCmpi
 
class  PPCCmpl
 
class  PPCCmpli
 
class  PPCCntlzd
 
class  PPCCntlzw
 
class  PPCExtsb
 
class  PPCExtsh
 
class  PPCFormat
 
class  PPCID
 
class  PPCInfo
 
class  PPCLfs
 
class  PPCLwz
 
class  PPCMfspr
 
class  PPCMtspr
 
class  PPCMulli
 
class  PPCMullw
 
class  PPCOpCode
 
class  PPCOpCodeInfo
 
class  PPCOr
 
class  PPCOri
 
class  PPCRldicl
 
class  PPCRlwimi
 
class  PPCRlwinm
 
class  PPCSlw
 
class  PPCStfs
 
class  PPCStw
 
class  PPCSub
 
class  PPCSubc
 
class  PPCSubfic
 
class  PPCVaddubm
 
class  PPCWord
 
class  PPCXor
 

Enumerations

enum  OperandType
 
enum  DisplayType
 
enum  PPCMnemonic : uint
 

Enumeration Type Documentation

◆ DisplayType

6 {
7 Decimal,
8 UnsignedHex,
9 Hex
10 }

◆ OperandType

4 {
5 VAL,
6 UVAL,
7 OFFSET,
8 UOFFSET,
9 REGISTER,
10 FREGISTER,
11 CREGISTER,
12 VREGISTER,
13 SREGISTER
14 }

◆ PPCMnemonic

780 {
781 base_op = 0x00000000,
782
783 word = 0x00000000,
784 twi = 0x0C000000,
785 vaddubm = 0x10000000,
786 mulli = 0x1C000000,
787 subfic = 0x20000000,
788 cmpli = 0x28000000,
789 cmpi = 0x2C000000,
790 addic = 0x30000000,
791 addic_D = 0x34000000,
792 addi = 0x38000000,
793 addis = 0x3C000000,
794
795 bc = 0x40000000, //bca, bcl, bcla
796 bca = 0x40000002,
797 bcl = 0x40000001,
798 bcla = 0x40000003,
799
800 b = 0x48000000, //ba, bl, bla
801 ba = 0x48000002,
802 bl = 0x48000001,
803 bla = 0x48000003,
804
805 #region 0x4C
806
807 grp4C = 0x4C000000,
808
809 mcrf = 0x4C000000,
810 bclr = 0x4C000020, //bclrl
811 crnor = 0x4C000042,
812 rfi = 0x4C000064,
813 crandc = 0x4C000102,
814 isync = 0x4C00012C,
815 crxor = 0x4C000182,
816 crand = 0x4C000202,
817 crnand = 0x4C0001C2,
818 creqv = 0x4C000242,
819 crorc = 0x4C000342,
820 cror = 0x4C000382,
821 bcctr = 0x4C000420, //bcctrl
822
823 #endregion
824
825 rlwimi = 0x50000000, //rlwimi.
826 rlwimi_D = 0x50000001,
827
828 rlwinm = 0x54000000, //rlwinm.
829 rlwinm_D = 0x54000001,
830
831 rlwnm = 0x5C000000, //rlwnm.
832 rlwnm_D = 0x5C000001,
833
834 ori = 0x60000000,
835 oris = 0x64000000,
836 xori = 0x68000000,
837 xoris = 0x6C000000,
838 andi_D = 0x70000000,
839 andis_D = 0x74000000,
840 rldicl = 0x78000000,
841
842 #region 0x7C
843
844 grp7C = 0x7C000000,
845
846 cmp = 0x7C000000,
847 tw = 0x7C000008,
848
849 subfc = 0x7C000010, //subfc.
850 subfc_D = 0x7C000011,
851
852 addc = 0x7C000014, //addc.
853 addc_D = 0x7C000015,
854
855 mulhwu = 0x7C000016, //mulhwu.
856 mulhwu_D = 0x7C000017,
857 mulhw = 0x7C000096, //mulhw.
858 mulhw_D = 0x7C000097,
859
860 mfcr = 0x7C000023,
861 lwarx = 0x7C000028,
862 lwzx = 0x7C00002E,
863
864 slw = 0x7C000030, //slw.
865 slw_D = 0x7C000031,
866
867 cntlzw = 0x7C000034, //cntlzw.
868 cntlzw_D = 0x7C000035,
869
870
871 cmplw = 0x7C000040,
872 sub = 0x7C000050,
873
874 cntlzd = 0x7C000074,
875 addze = 0x7C000194,
876 addme = 0x7C0001D4,
877 mullw = 0x7C0001D6, // mullw
878
879 add = 0x7C000214, //add.
880 add_D = 0x7C000215,
881
882 dcbt = 0x7C000000,
883 lhzx = 0x7C000000,
884
885 eqv = 0x7C000000, //eqv.
886 eqv_D = 0x7C000000,
887
888 tlbie = 0x7C000000,
889 eciwx = 0x7C000000,
890 lhzux = 0x7C000000,
891
892 xor = 0x7C000278, //xor.
893 xor_D = 0x7C000279,
894
895 mfspr = 0x7C0002A6,
896 lhax = 0x7C000000,
897
898 or = 0x7C000378, //or.
899 or_D = 0x7C000379,
900
901 mtspr = 0x7C0003A6,
902
903 addmeo = 0x7C000000, //addmeo.
904 addmeo_D = 0x7C000000,
905
906 mullwo = 0x7C000000, //mullwo.
907 mullwo_D = 0x7C000000,
908
909 dcba = 0x7C000000,
910 stfdux = 0x7C000000,
911
912 addo = 0x7C000000, //addo.
913 addo_D = 0x7C000000,
914
915 lhbrx = 0x7C000000,
916
917 sraw = 0x7C000630, //sraw.
918 sraw_D = 0x7C000631,
919
920 srawi = 0x7C000670, //srawi.
921 srawi_D = 0x7C000671,
922
923 eieio = 0x7C0006AC, //oald mcdonald had a faaaaaaaaaaauuurm
924 sthbrx = 0x7C00072C,
925
926 extsh = 0x7C000734, //extsh.
927 extsh_D = 0x7C000735,
928
929 extsb = 0x7C000774, //extsb.
930 extsb_D = 0x7C000775,
931
932 //TODO
933 divwuo = 0x7C000000,
934 divwuo_D = 0x7C000000,
935 icbi = 0x7C000000,
936 stfiwx = 0x7C000000,
937 divwo = 0x7C000000,
938 divwo_D = 0x7C000000,
939 dcbz = 0x7C000000,
940
941 #endregion
942
943 lwz = 0x80000000,
944 lwzu = 0x84000000,
945 lbz = 0x88000000,
946 lbzu = 0x8C000000,
947 stw = 0x90000000,
948 stwu = 0x94000000,
949 stb = 0x98000000,
950 stbu = 0x9C000000,
951 lhz = 0xA0000000,
952 lhzu = 0xA4000000,
953 lha = 0xA8000000,
954 lhau = 0xAC000000,
955 sth = 0xB0000000,
956 sthu = 0xB4000000,
957 lmw = 0xB8000000,
958 stmw = 0xBC000000,
959 lfs = 0xC0000000,
960 lfsu = 0xC4000000,
961 lfd = 0xC8000000,
962 lfdu = 0xCC000000,
963 stfs = 0xD0000000,
964 stfsu = 0xD4000000,
965 stfd = 0xD8000000,
966 stfdu = 0xDC000000,
967 ld = 0xE8000000,
968 std = 0xF8000000,
969 fcmpu = 0xFC000000
970 }