-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathextra
More file actions
34 lines (34 loc) · 856 Bytes
/
extra
File metadata and controls
34 lines (34 loc) · 856 Bytes
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
/*if(cur >= 512)
{
cur = 0;
} else {
if(!(cur > 16)) {
printf("%02X ", current);
} else {
if(cur >= 511)
{
putchar('\n');
for(int d = 0; d < 80; d++) putchar('-');
putchar('\n');
printf("\n%010X | ", mem_addr+1);
goto redo;
}
if(cur % 16 == 0)
{
putchar('\n');
for(int i = length; i > 0; i--)
putchar(' ');
}
printf("%02X ", current);
//cur = 0;
goto redo;
}*/
/*else {
if(cur >= 511 && mem_addr % 16 == 0)
{
putchar('\n');
for(int d = 0; d < 80; d++) putchar('-');
putchar('\n');
printf("\n%010X | ", mem_addr+1);
}
}*/