С Новым годом! Форум программистов, компьютерный форум, киберфорум
Микропроцессоры
Войти
Регистрация
Восстановить пароль
Карта форума Темы раздела Блоги Сообщество Поиск Заказать работу  
 
 
Рейтинг 4.90/29: Рейтинг темы: голосов - 29, средняя оценка - 4.90
7 / 7 / 0
Регистрация: 29.06.2018
Сообщений: 1,536
1

Доработка дизассемблера 8080A

15.12.2019, 02:29. Показов 5966. Ответов 29
Метки нет (Все метки)

Author24 — интернет-сервис помощи студентам
Доработка дизассемблера для Intel i8080A(КР580ВМ80А) c https://codeload.github.com/Ba... zip/master
введен режим сохранения в файл и опция отображения байтов данных в листинге
Вложения
Тип файла: zip i8080-disassembler-master.zip (14.8 Кб, 40 просмотров)
Тип файла: zip disasm8080a.zip (9.79 Мб, 43 просмотров)
0
Programming
Эксперт
94731 / 64177 / 26122
Регистрация: 12.04.2006
Сообщений: 116,782
15.12.2019, 02:29
Ответы с готовыми решениями:

добрался до дизассемблера - как считать такты?
собственно, хочу оценить количество тактов, за которое выполняется мое прерывание. сделал (сдуру)...

Поиск дизассемблера
Добрый день. Есть 2 *.exe файла. OllyDbg открывает с ошибкой. Программы написаны в C++ Builder...

Защита от дизассемблера
Привет киберфорум! Есть ли какая - то реально работающая защита от дизассемблера в современном...

Исходники дизассемблера
Народ! Кому попадались исходники простенького современного дизассемблера на c++? Для создания...

Защита программы от дизассемблера и отладчика
Всем привет! Имеется небольшая простенькая программа на С++. Необходимо реализовать еще в ней...

29
7 / 7 / 0
Регистрация: 29.06.2018
Сообщений: 1,536
19.12.2019, 04:58  [ТС] 21
Author24 — интернет-сервис помощи студентам
DevC++
Для расширения .cpp вместо .c идет с
C++
1
Byte *data =(Byte*) malloc(sizeof(Byte) * size);
0
7 / 7 / 0
Регистрация: 29.06.2018
Сообщений: 1,536
19.12.2019, 05:06  [ТС] 22
На борландовском FreeCommandline Tools 5.5.1
Вложения
Тип файла: zip 580VM80A_dis_cppBC.zip (9.63 Мб, 29 просмотров)
0
7 / 7 / 0
Регистрация: 29.06.2018
Сообщений: 1,536
20.12.2019, 07:15  [ТС] 23
Можно и программу прогонки по командам прошивки , визуализации , какая команда выполняется добавить (эмулятор), но там сильно много надо писать, запоминать состояние регистров процессора, вычислять их , Lxi, sta,lda ; CALL , JMP можно подумать , как инкрементировать счетчик, в основной программе правильные лейблы на call, jmp- образные трехбайтные команды приделать, к LXI приделать комментарии, с каких адресов закачивается .db , для STA, LDA подумать , как лучше комментарии выводить, чтобы при ошибках количества байтов в некоторых командах при первом проходе бекспейсом удалить , вручную расставив лейблы и .db.
0
7 / 7 / 0
Регистрация: 29.06.2018
Сообщений: 1,536
20.12.2019, 15:52  [ТС] 24
Доработал выборку количества байт, сделал более модульным .

Можно построить и ассемблер ,введя токенизацию , переделав

C++
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
char * cmd_1st_byte_array [256]= 
{
"NOP","LXI B,D16","STAX B","INX B", "INR B","DCR B","MVI B,D8", "RLC","0x08","DAD B","LDAX B","DCX B","INR C","DCR C","MVI C, D8","RRC",
"0x10","LXI D,D16","STAX D","INX D","INR D","DCR D","MVI D,D8","RAL","0x18","DAD D","LDAX D","DCX D","INR E","DCR E","MVI E,D8","RAR",
"0x20","LXI H,D16","SHLD ADR","INX H","INR H","DCR H","MVI H,D8","DAA","0x28","DAD H","LHLD ADR","DCX H","INR L","DCR L","MVI L,D8","CMA", 
"0x30","LXI SP,D16","STA ADR","INX SP","INR M","DCR M","MVI M,D8","STC","0x38","DAD SP","LDA ADR","DCX SP","INR A","DCR A","MVI A,D8","CMC", 
"MOV B,B","MOV B,C","MOV B,D","MOV B,E","MOV B,H","MOV B,L","MOV B,M","MOV B,A","MOV C,B","MOV C,C","MOV C,D","MOV C,E","MOV C,H","MOV C,L","MOV C,M","MOV C,A", 
"MOV D,B","MOV D,C","MOV D,D","MOV D,E","MOV D,H","MOV D,L","MOV D,M","MOV D,A","MOV E,B","MOV E,C","MOV E,D","MOV E,E","MOV E,H","MOV E,L","MOV E,M","MOV E,A", 
"MOV H,B","MOV H,C","MOV H,D","MOV H,E","MOV H,H","MOV H,L","MOV H,M","MOV H,A","MOV L,B","MOV L,C","MOV L,D","MOV L,E","MOV L,H","MOV L,L","MOV L,M","MOV L,A", 
"MOV M,B","MOV M,C","MOV M,D","MOV M,E","MOV M,H","MOV M,L","HLT","MOV M,A","MOV A,B","MOV A,C","MOV A,D","MOV A,E","MOV A,H","MOV A,L","MOV A,M","MOV A,A", 
"ADD B","ADD C","ADD D","ADD E","ADD H","ADD L","ADD M","ADD A","ADC B","ADC C","ADC D","ADC E","ADC H","ADC  L","ADC M","ADC A", 
"SUB B","SUB C","SUB D","SUB E","SUB H","SUB L","SUB M","SUB A","SBB B","SBB C","SBB D","SBB E","SBB H","SBB L","SBB M","SBB A", 
"ANA B","ANA C","ANA D","ANA E","ANA H","ANA L","ANA M","ANA A","XRA B","XRA C","XRA D","XRA E","XRA H","XRA L","XRA M","XRA A", 
"ORA B","ORA C","ORA D","ORA E","ORA H","ORA L","ORA M","ORA  A","CMP B","CMP C","CMP D","CMP E","CMP H","CMP L","CMP M","CMP A", 
"RNZ","POP B","JNZ ADR","JMP ADR","CNZ ADR","PUSH B","ADI D8","RST 0","RZ","RET","JZ ADR","0xcb","CZ ADR","CALL ADDR","ACI D8","RST 1", 
"RNC","POP D","JNC ADR","OUT N","CNC ADR","PUSH D","SUI D8","RST 2","RC","0xd9","JC ADR","IN N","CC ADR","0xdd","SBI D8","RST 3", 
"RPO","POP H","JPO ADR","XTHL","CPO ADR","PUSH H","ANI D8","RST 4","RPE","PCHL","JPE ADR","XCHG","CPE ADR","0xed","XRI D8","RST 5", 
"RP","POP PSW","JP ADR","DI","CP ADR","PUSH PSW","ORI D8","RST 6","RM","SPHL","JM ADR","EI","CM ADR","0xfd","CPI D8","RST 7" 
 
 
 
} ;
 
 
/*
 
Byte cmd_2nd_byte_array[2][256]= 
{
 
{
0,DL,0,0, 0,0,D8,0,0,0,0,0,0,0,D8,0,//0x
0,DL,0,0,0,0,D8,0,0,0,0,0,0,0,D8,0,//1x
0,DL,AL,0,0,0,D8,0,0,0,AL,0,0,0,D8,0, //2x
0,DH,AL,0,0,0,D8,0,0,0,AL,0,0,0,D8,0, //3x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //4x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //5x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //6x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //7x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //8x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //9x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //ax
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //bx
0,0,AL,AL,AL,0,D8,0,0,0,AL,0,AL,AL,D8,0, 
0,0,AL,Nport,AL,0,D8,0,0,0,AL,Nport,AL,0,D8,0, 
0,0,AL,0,AL,0,D8,0,0,0,AL,0,AL,0,D8,0, 
0,0,AL,0,AL,0,D8,0,0,0,AL,0,AL,0,D8,0 
},
 
{
0,DH,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,//0x
0,DH,0,0,0,0,0,0,0,0,0,0,0,0,0,0,//1x
0,DH,AH,0,0,0,0,0,0,0,AH,0,0,0,0,0, //2x
0,DH,AH,0,0,0,0,0,0,0,AH,0,0,0,0,0, //3x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //4x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //5x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //6x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //7x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //8x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //9x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //ax
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //bx
0,0,AH,AH,AH,0,0,0,0,0,AH,0,AH,AH,0,0, 
0,0,AH,0,AH,0,0,0,0,0,AH,0t,AH,0,0,0, 
0,0,AH,0,AH,0,0,0,0,0,AH,0,AH,0,0,0, 
0,0,AH,0,AH,0,0,0,0,0,AH,0,AH,0,0,0 
 }  
 } ;
 
 
 
 */
Вложения
Тип файла: zip disasm_8080_module.zip (9.45 Мб, 22 просмотров)
0
7 / 7 / 0
Регистрация: 29.06.2018
Сообщений: 1,536
20.12.2019, 15:53  [ТС] 25
Сделать вариант для малых и больших букв, предусмотреть лейблы, комментарии , .db , .org

Добавлено через 27 секунд
Встроить как опцию .
0
27 / 22 / 5
Регистрация: 31.01.2019
Сообщений: 98
20.12.2019, 16:15 26
Прошу прощения, я не понял вы пишете то что хотите реализовать или предлагаете кому нибудь это сделать?
0
7 / 7 / 0
Регистрация: 29.06.2018
Сообщений: 1,536
20.12.2019, 17:01  [ТС] 27
Предлагаю предложить альтернативные более оптимальные варианты, если есть .

Массив для токенизации может быть следующим

C++
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
/*
 
char * cmd_1st_byte_array_cap [256]= 
{
"NOP","LXI B,","STAX B","INX B", "INR B","DCR B","MVI B,", "RLC","0x08","DAD B","LDAX B","DCX B","INR C","DCR C","MVI C,","RRC",
"0x10","LXI D,","STAX D","INX D","INR D","DCR D","MVI D,","RAL","0x18","DAD D","LDAX D","DCX D","INR E","DCR E","MVI E,","RAR",
"0x20","LXI H,","SHLD","INX H","INR H","DCR H","MVI H,","DAA","0x28","DAD H","LHLD","DCX H","INR L","DCR L","MVI L,","CMA", 
"0x30","LXI SP,","STA","INX SP","INR M","DCR M","MVI M,","STC","0x38","DAD SP","LDA","DCX SP","INR A","DCR A","MVI A,","CMC", 
"MOV B,B","MOV B,C","MOV B,D","MOV B,E","MOV B,H","MOV B,L","MOV B,M","MOV B,A","MOV C,B","MOV C,C","MOV C,D","MOV C,E","MOV C,H","MOV C,L","MOV C,M","MOV C,A", 
"MOV D,B","MOV D,C","MOV D,D","MOV D,E","MOV D,H","MOV D,L","MOV D,M","MOV D,A","MOV E,B","MOV E,C","MOV E,D","MOV E,E","MOV E,H","MOV E,L","MOV E,M","MOV E,A", 
"MOV H,B","MOV H,C","MOV H,D","MOV H,E","MOV H,H","MOV H,L","MOV H,M","MOV H,A","MOV L,B","MOV L,C","MOV L,D","MOV L,E","MOV L,H","MOV L,L","MOV L,M","MOV L,A", 
"MOV M,B","MOV M,C","MOV M,D","MOV M,E","MOV M,H","MOV M,L","HLT","MOV M,A","MOV A,B","MOV A,C","MOV A,D","MOV A,E","MOV A,H","MOV A,L","MOV A,M","MOV A,A", 
"ADD B","ADD C","ADD D","ADD E","ADD H","ADD L","ADD M","ADD A","ADC B","ADC C","ADC D","ADC E","ADC H","ADC  L","ADC M","ADC A", 
"SUB B","SUB C","SUB D","SUB E","SUB H","SUB L","SUB M","SUB A","SBB B","SBB C","SBB D","SBB E","SBB H","SBB L","SBB M","SBB A", 
"ANA B","ANA C","ANA D","ANA E","ANA H","ANA L","ANA M","ANA A","XRA B","XRA C","XRA D","XRA E","XRA H","XRA L","XRA M","XRA A", 
"ORA B","ORA C","ORA D","ORA E","ORA H","ORA L","ORA M","ORA  A","CMP B","CMP C","CMP D","CMP E","CMP H","CMP L","CMP M","CMP A", 
"RNZ","POP B","JNZ","JMP","CNZ","PUSH B","ADI","RST 0","RZ","RET","JZ","0xcb","CZ","CALL","ACI","RST 1", 
"RNC","POP D","JNC","OUT","CNC","PUSH D","SUI","RST 2","RC","0xd9","JC","IN","CC","0xdd","SBI","RST 3", 
"RPO","POP H","JPO","XTHL","CPO","PUSH H","ANI","RST 4","RPE","PCHL","JPE","XCHG","CPE","0xed","XRI","RST 5", 
"RP","POP PSW","JP","DI","CP","PUSH PSW","ORI","RST 6","RM","SPHL","JM","EI","CM","0xfd","CPI","RST 7" 
 
 
 
} ;
 
char * cmd_1st_byte_array_small [256]= 
{
"nop","lxi b,","stax b","inx b", "inr b","dcr b","mvi b,", "rlc","0x08","dad b","ldax b","dcx b","inr c","dcr c","mvi c,","rrc",
"0x10","lxi d,","stax d","inx d","inr d","dcr","mvi d,","ral","0x18","dad d","ldax d","dcx d","inr e","dcr e","mvi e,","rar",
"0x20","lxi h,","shld","inx h","inr h","dcr h","mvi h,","daa","0x28","dad h","lhld","dcx h","inr l","dcr l","mvi l,","cma", 
"0x30","lxi sp,","sta","inx sp","inr m","dcr m","mvi m,","stc","0x38","dad sp","lda","dcx sp","inr a","dcr a","mvi a,","cmc", 
"mov b,b","mov b,c","mov b,d","mov b,e","mov b,h","mov b,l","mov b,m","mov b,a","mov c,b","mov c,c","mov c,d","mov c,e","mov c,h","mov c,l","mov c,m","mov c,a", 
"mov d,b","mov d,c","mov d,d","mov d,e","mov d,h","mov d,l","mov d,m","mov d,a","mov e,b","mov e,c","mov e,d","mov e,e","mov e,h","mov e,l","mov e,m","mov e,a", 
"mov h,b","mov h,c","mov h,d","mov h,e","mov h,h","mov h,l","mov h,m","mov h,a","mov l,b","mov l,c","mov l,d","mov l,e","mov l,h","mov l,l","mov l,m","mov l,a", 
"mov m,b","mov m,c","mov m,d","mov m,e","mov m,h","mov m,l","hlt","mov m,a","mov a,b","mov a,c","mov a,d","mov a,e","mov a,h","mov a,l","mov a,m","mov a,a", 
"add b","add c","add d","add e","add h","add l","add m","add a","adc b","adc c","adc d","adc e","adc h","adc l","adc m","adc a", 
"sub b","sub c","sub d","sub e","sub h","sub l","sub m","sub a","sbb b","sbb c","sbb d","sbb e","sbb h","sbb l","sbb m","sbb a", 
"ana b","ana c","ana d","ana e","ana h","ana l","ana m","ana a","xra b","xra c","xra d","xra e","xra h","xra l","xra m","xra a", 
"ora b","ora c","ora d","ora e","ora h","ora l","ora m","ora a","cmp b","cmp c","cmp d","cmp e","cmp h","cmp l","cmp m","cmp a", 
"rnz","pop b","jnz","jmp","cnz","push b","adi","rst 0","rz","ret","jz","0xcb","cz","call","aci","rst 1", 
"rnc","pop d","jnc","out","cnc","push d","sui","rst 2","rc","0xd9","jc","in","cc","0xdd","sbi","rst 3", 
"rpo","pop h","jpo","xthl","cpo","push h","ani","rst 4","rpe","pchl","jpe","xchg","cpe","0xed","xri","rst 5", 
"rp","pop psw","jp","di","cp","push psw","ori","rst 6","rm","sphl","jm","ei","cm","0xfd","cpi","rst 7" 
 
 
 
} ;
 
 
Byte cmd_2nd_byte_array[2][256]= 
{
 
{
0,DL,0,0, 0,0,D8,0,0,0,0,0,0,0,D8,0,//0x
0,DL,0,0,0,0,D8,0,0,0,0,0,0,0,D8,0,//1x
0,DL,AL,0,0,0,D8,0,0,0,AL,0,0,0,D8,0, //2x
0,DH,AL,0,0,0,D8,0,0,0,AL,0,0,0,D8,0, //3x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //4x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //5x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //6x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //7x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //8x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //9x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //ax
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //bx
0,0,AL,AL,AL,0,D8,0,0,0,AL,0,AL,AL,D8,0, 
0,0,AL,Nport,AL,0,D8,0,0,0,AL,Nport,AL,0,D8,0, 
0,0,AL,0,AL,0,D8,0,0,0,AL,0,AL,0,D8,0, 
0,0,AL,0,AL,0,D8,0,0,0,AL,0,AL,0,D8,0 
},
 
{
0,DH,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,//0x
0,DH,0,0,0,0,0,0,0,0,0,0,0,0,0,0,//1x
0,DH,AH,0,0,0,0,0,0,0,AH,0,0,0,0,0, //2x
0,DH,AH,0,0,0,0,0,0,0,AH,0,0,0,0,0, //3x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //4x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //5x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //6x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //7x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //8x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //9x
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //ax
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, //bx
0,0,AH,AH,AH,0,0,0,0,0,AH,0,AH,AH,0,0, 
0,0,AH,0,AH,0,0,0,0,0,AH,0t,AH,0,0,0, 
0,0,AH,0,AH,0,0,0,0,0,AH,0,AH,0,0,0, 
0,0,AH,0,AH,0,0,0,0,0,AH,0,AH,0,0,0 
 }  
 } ;
 
 
 
//#ifdef 
//undocumented commands , don't use in the assembler , may be 
// 1 byte 0x08,0x10,0x18,0x20,0x28, 0x30,0x38  nop 
//cmd_1st_byte_array_small[(int)0x08]="nop";
//cmd_2nd_byte_array[0][(int)0x08]=0;
//cmd_2nd_byte_array[1][(int)0x08]=0;
//num_cmd_array[0x08]=1;
//cmd_1st_byte_array_small[(int)0x10]="nop";
//cmd_2nd_byte_array[0][(int)0x10]=0;
//cmd_2nd_byte_array[1][(int)0x10]=0;
//num_cmd_array[0x10]=1;
//cmd_1st_byte_array_small[(int)0x18]="nop";
//cmd_2nd_byte_array[0][(int)0x18]=0;
//cmd_2nd_byte_array[1][(int)0x18]=0;
//num_cmd_array[0x18]=1;
//cmd_1st_byte_array_small[(int)0x20]="nop";
//cmd_2nd_byte_array[0][(int)0x20]=0;
//cmd_2nd_byte_array[1][(int)0x20]=0;
//num_cmd_array[0x28]=1;
//cmd_1st_byte_array_small[(int)0x28]="nop";
//cmd_2nd_byte_array[0][(int)0x28]=0;
//cmd_2nd_byte_array[1][(int)0x28]=0;
//num_cmd_array[0x28]=1;
//cmd_1st_byte_array_small[(int)0x30]="nop";
//cmd_2nd_byte_array[0][(int)0x30]=0;
//cmd_2nd_byte_array[1][(int)0x30]=0;
//num_cmd_array[0x30]=1;
//cmd_1st_byte_array_small[(int)0x38]="nop";
//cmd_2nd_byte_array[0][(int)0x38]=0;
//cmd_2nd_byte_array[1][(int)0x38]=AH;
//num_cmd_array[0x38]=1;
 
//3 byte 0xcb jmp   AL AH
//cmd_1st_byte_array_small[(int)0xcb]="jmp";
//cmd_2nd_byte_array[0][(int)0xcb]=AL;
//cmd_2nd_byte_array[1][(int)0xcb]=AH;
//num_cmd_array[0xcb]=3;
//1 byte 0xd9 ret
//cmd_1st_byte_array_small[(int)0xd9]="ret";
//cmd_2nd_byte_array[0][(int)0xd9]=0;
//cmd_2nd_byte_array[1][(int)0xd9]=0;
//num_cmd_array[0xd9]=1;
//3 byte 0xdd call    AL  AH  
//cmd_1st_byte_array_small[(int)0xdd]="call";
//cmd_2nd_byte_array[0][(int)0xdd]=AL;
//cmd_2nd_byte_array[1][(int)0xdd]=AH;
//num_cmd_array[0xdd]=1;
//3 byte 0xed call    AL  AH  
//cmd_1st_byte_array_small[(int)0xced]="call";
//cmd_2nd_byte_array[0][(int)0xed]=AL;
//cmd_2nd_byte_array[1][(int)0xed]=AH;
//num_cmd_array[0xed]=1;
//3 byte 0xfd call    AL  AH  
//cmd_1st_byte_array_small[(int)0xfd]="call";
//cmd_2nd_byte_array[0][(int)0xfd]=AL;
//cmd_2nd_byte_array[1][(int)0xfd]=AH;
////num_cmd_array[0xfd]=1;
//#endif
 
 */
0
7 / 7 / 0
Регистрация: 29.06.2018
Сообщений: 1,536
20.12.2019, 18:02  [ТС] 28
Можно доработать ассемблер от Luis Claudio Gambфa Lopes , сменив систему команд , использовать принципы оттуда (переделал под Windows ,DevC++)
Вложения
Тип файла: zip 8085asm-0.1.zip (161.4 Кб, 21 просмотров)
Тип файла: zip 8085asm-0.1 (2).zip (39.1 Кб, 21 просмотров)
0
7 / 7 / 0
Регистрация: 29.06.2018
Сообщений: 1,536
20.12.2019, 23:39  [ТС] 29
Адаптировал систему команд в LCGamboa 8080 assembler , добавил работу с файлом и синтаксис для pretty Assembler8080, ввел комментарии в структуру (некоммерческая версия, проверить на баги , наш ручной лучше распознает , но там еще некоторые баги , в том числе в комментариях ):
Вложения
Тип файла: 7z LCG8080edition_asm.7z (55.0 Кб, 21 просмотров)
0
7 / 7 / 0
Регистрация: 29.06.2018
Сообщений: 1,536
04.11.2020, 18:47  [ТС] 30
DevC++ или BC102 free commandline tools, подключаемые модули оптимизировать под него.
0
04.11.2020, 18:47
IT_Exp
Эксперт
87844 / 49110 / 22898
Регистрация: 17.06.2006
Сообщений: 92,604
04.11.2020, 18:47
Помогаю со студенческими работами здесь

код на Си надо сделать результат работы дизассемблера в составе отладчика
Есть код Сортировка массива по возрастанию (метод пузырька) На Си , а как Откомпилировать в VS,...

Доработка БП
Добрый день. Я не силен в импульсных источниках питания, так что решил спросить совет у знающих...

Доработка БД
Добрый день, господа профессионалы. В общем накосячил я с БД и теперь что-то не знаю, как это...

Доработка
Всем привет.Ребят,у меня такой наверное глуповатый вопрос.Например есть программа которую надо...

Доработка БД
Помогите с доработкой БД в Access. Создал БД. Преподаватель вернул на доработку со следующими...

Доработка АС
Недавно прикупил небольшие активные колоночки 2.0 для компа SVEN SPS-610, выбирал по дизайну, т.к....


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
30
Ответ Создать тему
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2024, CyberForum.ru