Skip to content

Commit df75eff

Browse files
committed
Generate m68k consts
1 parent 3870cdc commit df75eff

File tree

7 files changed

+112
-7
lines changed

7 files changed

+112
-7
lines changed

bindings/dotnet/UnicornEngine/Const/M68k.fs

+16-1
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,20 @@ module M68k =
4141
let UC_M68K_REG_D7 = 16
4242
let UC_M68K_REG_SR = 17
4343
let UC_M68K_REG_PC = 18
44-
let UC_M68K_REG_ENDING = 19
44+
let UC_M68K_REG_CR_SFC = 19
45+
let UC_M68K_REG_CR_DFC = 20
46+
let UC_M68K_REG_CR_VBR = 21
47+
let UC_M68K_REG_CR_CACR = 22
48+
let UC_M68K_REG_CR_TC = 23
49+
let UC_M68K_REG_CR_MMUSR = 24
50+
let UC_M68K_REG_CR_SRP = 25
51+
let UC_M68K_REG_CR_USP = 26
52+
let UC_M68K_REG_CR_MSP = 27
53+
let UC_M68K_REG_CR_ISP = 28
54+
let UC_M68K_REG_CR_URP = 29
55+
let UC_M68K_REG_CR_ITT0 = 30
56+
let UC_M68K_REG_CR_ITT1 = 31
57+
let UC_M68K_REG_CR_DTT0 = 32
58+
let UC_M68K_REG_CR_DTT1 = 33
59+
let UC_M68K_REG_ENDING = 34
4560

bindings/go/unicorn/m68k_const.go

+16-1
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,20 @@ const (
3636
M68K_REG_D7 = 16
3737
M68K_REG_SR = 17
3838
M68K_REG_PC = 18
39-
M68K_REG_ENDING = 19
39+
M68K_REG_CR_SFC = 19
40+
M68K_REG_CR_DFC = 20
41+
M68K_REG_CR_VBR = 21
42+
M68K_REG_CR_CACR = 22
43+
M68K_REG_CR_TC = 23
44+
M68K_REG_CR_MMUSR = 24
45+
M68K_REG_CR_SRP = 25
46+
M68K_REG_CR_USP = 26
47+
M68K_REG_CR_MSP = 27
48+
M68K_REG_CR_ISP = 28
49+
M68K_REG_CR_URP = 29
50+
M68K_REG_CR_ITT0 = 30
51+
M68K_REG_CR_ITT1 = 31
52+
M68K_REG_CR_DTT0 = 32
53+
M68K_REG_CR_DTT1 = 33
54+
M68K_REG_ENDING = 34
4055
)

bindings/java/src/main/java/unicorn/M68kConst.java

+16-1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,21 @@ public interface M68kConst {
3838
public static final int UC_M68K_REG_D7 = 16;
3939
public static final int UC_M68K_REG_SR = 17;
4040
public static final int UC_M68K_REG_PC = 18;
41-
public static final int UC_M68K_REG_ENDING = 19;
41+
public static final int UC_M68K_REG_CR_SFC = 19;
42+
public static final int UC_M68K_REG_CR_DFC = 20;
43+
public static final int UC_M68K_REG_CR_VBR = 21;
44+
public static final int UC_M68K_REG_CR_CACR = 22;
45+
public static final int UC_M68K_REG_CR_TC = 23;
46+
public static final int UC_M68K_REG_CR_MMUSR = 24;
47+
public static final int UC_M68K_REG_CR_SRP = 25;
48+
public static final int UC_M68K_REG_CR_USP = 26;
49+
public static final int UC_M68K_REG_CR_MSP = 27;
50+
public static final int UC_M68K_REG_CR_ISP = 28;
51+
public static final int UC_M68K_REG_CR_URP = 29;
52+
public static final int UC_M68K_REG_CR_ITT0 = 30;
53+
public static final int UC_M68K_REG_CR_ITT1 = 31;
54+
public static final int UC_M68K_REG_CR_DTT0 = 32;
55+
public static final int UC_M68K_REG_CR_DTT1 = 33;
56+
public static final int UC_M68K_REG_ENDING = 34;
4257

4358
}

bindings/pascal/unicorn/M68kConst.pas

+16-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,22 @@ interface
3939
UC_M68K_REG_D7 = 16;
4040
UC_M68K_REG_SR = 17;
4141
UC_M68K_REG_PC = 18;
42-
UC_M68K_REG_ENDING = 19;
42+
UC_M68K_REG_CR_SFC = 19;
43+
UC_M68K_REG_CR_DFC = 20;
44+
UC_M68K_REG_CR_VBR = 21;
45+
UC_M68K_REG_CR_CACR = 22;
46+
UC_M68K_REG_CR_TC = 23;
47+
UC_M68K_REG_CR_MMUSR = 24;
48+
UC_M68K_REG_CR_SRP = 25;
49+
UC_M68K_REG_CR_USP = 26;
50+
UC_M68K_REG_CR_MSP = 27;
51+
UC_M68K_REG_CR_ISP = 28;
52+
UC_M68K_REG_CR_URP = 29;
53+
UC_M68K_REG_CR_ITT0 = 30;
54+
UC_M68K_REG_CR_ITT1 = 31;
55+
UC_M68K_REG_CR_DTT0 = 32;
56+
UC_M68K_REG_CR_DTT1 = 33;
57+
UC_M68K_REG_ENDING = 34;
4358

4459
implementation
4560
end.

bindings/python/unicorn/m68k_const.py

+16-1
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,19 @@
3434
UC_M68K_REG_D7 = 16
3535
UC_M68K_REG_SR = 17
3636
UC_M68K_REG_PC = 18
37-
UC_M68K_REG_ENDING = 19
37+
UC_M68K_REG_CR_SFC = 19
38+
UC_M68K_REG_CR_DFC = 20
39+
UC_M68K_REG_CR_VBR = 21
40+
UC_M68K_REG_CR_CACR = 22
41+
UC_M68K_REG_CR_TC = 23
42+
UC_M68K_REG_CR_MMUSR = 24
43+
UC_M68K_REG_CR_SRP = 25
44+
UC_M68K_REG_CR_USP = 26
45+
UC_M68K_REG_CR_MSP = 27
46+
UC_M68K_REG_CR_ISP = 28
47+
UC_M68K_REG_CR_URP = 29
48+
UC_M68K_REG_CR_ITT0 = 30
49+
UC_M68K_REG_CR_ITT1 = 31
50+
UC_M68K_REG_CR_DTT0 = 32
51+
UC_M68K_REG_CR_DTT1 = 33
52+
UC_M68K_REG_ENDING = 34

bindings/ruby/unicorn_gem/lib/unicorn_engine/m68k_const.rb

+16-1
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,20 @@ module UnicornEngine
3636
UC_M68K_REG_D7 = 16
3737
UC_M68K_REG_SR = 17
3838
UC_M68K_REG_PC = 18
39-
UC_M68K_REG_ENDING = 19
39+
UC_M68K_REG_CR_SFC = 19
40+
UC_M68K_REG_CR_DFC = 20
41+
UC_M68K_REG_CR_VBR = 21
42+
UC_M68K_REG_CR_CACR = 22
43+
UC_M68K_REG_CR_TC = 23
44+
UC_M68K_REG_CR_MMUSR = 24
45+
UC_M68K_REG_CR_SRP = 25
46+
UC_M68K_REG_CR_USP = 26
47+
UC_M68K_REG_CR_MSP = 27
48+
UC_M68K_REG_CR_ISP = 28
49+
UC_M68K_REG_CR_URP = 29
50+
UC_M68K_REG_CR_ITT0 = 30
51+
UC_M68K_REG_CR_ITT1 = 31
52+
UC_M68K_REG_CR_DTT0 = 32
53+
UC_M68K_REG_CR_DTT1 = 33
54+
UC_M68K_REG_ENDING = 34
4055
end

bindings/zig/unicorn/m68k_const.zig

+16-1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,21 @@ pub const m68kConst = enum(c_int) {
3636
M68K_REG_D7 = 16,
3737
M68K_REG_SR = 17,
3838
M68K_REG_PC = 18,
39-
M68K_REG_ENDING = 19,
39+
M68K_REG_CR_SFC = 19,
40+
M68K_REG_CR_DFC = 20,
41+
M68K_REG_CR_VBR = 21,
42+
M68K_REG_CR_CACR = 22,
43+
M68K_REG_CR_TC = 23,
44+
M68K_REG_CR_MMUSR = 24,
45+
M68K_REG_CR_SRP = 25,
46+
M68K_REG_CR_USP = 26,
47+
M68K_REG_CR_MSP = 27,
48+
M68K_REG_CR_ISP = 28,
49+
M68K_REG_CR_URP = 29,
50+
M68K_REG_CR_ITT0 = 30,
51+
M68K_REG_CR_ITT1 = 31,
52+
M68K_REG_CR_DTT0 = 32,
53+
M68K_REG_CR_DTT1 = 33,
54+
M68K_REG_ENDING = 34,
4055

4156
};

0 commit comments

Comments
 (0)