author | Jan Vrany <jan.vrany@labware.com> |
Mon, 17 May 2021 21:49:08 +0100 | |
changeset 220 | ae5ddc0ea07b |
parent 146 | c037aa4ce54f |
child 225 | 0771f7b406d6 |
permissions | -rw-r--r-- |
77
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
1 |
" |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
2 |
jv:vdb - Visual / VM Debugger |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
3 |
Copyright (C) 2015-now Jan Vrany |
220
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
4 |
Copyright (C) 2021 LabWare |
77
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
5 |
|
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
6 |
This software is licensed under 'Creative Commons Attribution-NonCommercial 4.0 International License' |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
7 |
|
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
8 |
You may find a full license text in LICENSE.txt or at http://creativecommons.org/licenses/by-nc/4.0/ |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
9 |
" |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
10 |
"{ Package: 'jv:vdb' }" |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
11 |
|
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
12 |
"{ NameSpace: Smalltalk }" |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
13 |
|
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
14 |
VDBAbstractPresenter subclass:#VDBInstructionPresenter |
80
7a9cf1d6be50
UX: improvements in disasembly view (`VDBInstructionListApplication`)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
77
diff
changeset
|
15 |
instanceVariableNames:'instruction basicBlock' |
77
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
16 |
classVariableNames:'' |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
17 |
poolDictionaries:'' |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
18 |
category:'VDB-Presentation' |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
19 |
! |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
20 |
|
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
21 |
!VDBInstructionPresenter class methodsFor:'documentation'! |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
22 |
|
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
23 |
copyright |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
24 |
" |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
25 |
jv:vdb - Visual / VM Debugger |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
26 |
Copyright (C) 2015-now Jan Vrany |
220
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
27 |
Copyright (C) 2021 LabWare |
77
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
28 |
|
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
29 |
This software is licensed under 'Creative Commons Attribution-NonCommercial 4.0 International License' |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
30 |
|
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
31 |
You may find a full license text in LICENSE.txt or at http://creativecommons.org/licenses/by-nc/4.0/ |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
32 |
" |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
33 |
! ! |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
34 |
|
220
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
35 |
!VDBInstructionPresenter class methodsFor:'menu specs'! |
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
36 |
|
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
37 |
contextMenu |
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
38 |
"This resource specification was automatically generated |
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
39 |
by the MenuEditor of ST/X." |
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
40 |
|
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
41 |
"Do not manually edit this!! If it is corrupted, |
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
42 |
the MenuEditor may not be able to read the specification." |
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
43 |
|
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
44 |
|
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
45 |
" |
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
46 |
MenuEditor new openOnClass:VDBInstructionPresenter andSelector:#contextMenu |
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
47 |
(Menu new fromLiteralArrayEncoding:(VDBInstructionPresenter contextMenu)) startUp |
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
48 |
" |
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
49 |
|
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
50 |
<resource: #menu> |
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
51 |
|
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
52 |
^ |
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
53 |
#(Menu ( |
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
54 |
(MenuItem |
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
55 |
label: 'Copy Address' |
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
56 |
itemValue: doCopyAddress |
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
57 |
isVisible: true |
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
58 |
) |
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
59 |
) nil |
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
60 |
nil |
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
61 |
) |
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
62 |
! ! |
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
63 |
|
77
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
64 |
!VDBInstructionPresenter methodsFor:'accessing'! |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
65 |
|
80
7a9cf1d6be50
UX: improvements in disasembly view (`VDBInstructionListApplication`)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
77
diff
changeset
|
66 |
address |
7a9cf1d6be50
UX: improvements in disasembly view (`VDBInstructionListApplication`)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
77
diff
changeset
|
67 |
^instruction address |
7a9cf1d6be50
UX: improvements in disasembly view (`VDBInstructionListApplication`)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
77
diff
changeset
|
68 |
|
7a9cf1d6be50
UX: improvements in disasembly view (`VDBInstructionListApplication`)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
77
diff
changeset
|
69 |
"Created: / 26-06-2018 / 12:42:43 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
7a9cf1d6be50
UX: improvements in disasembly view (`VDBInstructionListApplication`)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
77
diff
changeset
|
70 |
! |
7a9cf1d6be50
UX: improvements in disasembly view (`VDBInstructionListApplication`)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
77
diff
changeset
|
71 |
|
7a9cf1d6be50
UX: improvements in disasembly view (`VDBInstructionListApplication`)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
77
diff
changeset
|
72 |
basicBlock |
7a9cf1d6be50
UX: improvements in disasembly view (`VDBInstructionListApplication`)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
77
diff
changeset
|
73 |
^ basicBlock |
7a9cf1d6be50
UX: improvements in disasembly view (`VDBInstructionListApplication`)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
77
diff
changeset
|
74 |
! |
7a9cf1d6be50
UX: improvements in disasembly view (`VDBInstructionListApplication`)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
77
diff
changeset
|
75 |
|
77
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
76 |
instruction |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
77 |
^ instruction |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
78 |
! |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
79 |
|
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
80 |
subject |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
81 |
"Return an instance of GDB object that this presenter displays." |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
82 |
|
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
83 |
^ instruction |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
84 |
|
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
85 |
"Created: / 22-06-2018 / 15:10:27 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
86 |
! ! |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
87 |
|
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
88 |
!VDBInstructionPresenter methodsFor:'initialization'! |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
89 |
|
80
7a9cf1d6be50
UX: improvements in disasembly view (`VDBInstructionListApplication`)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
77
diff
changeset
|
90 |
setBasicBlock: aVDBBasicBLock |
7a9cf1d6be50
UX: improvements in disasembly view (`VDBInstructionListApplication`)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
77
diff
changeset
|
91 |
basicBlock := aVDBBasicBLock |
7a9cf1d6be50
UX: improvements in disasembly view (`VDBInstructionListApplication`)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
77
diff
changeset
|
92 |
|
7a9cf1d6be50
UX: improvements in disasembly view (`VDBInstructionListApplication`)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
77
diff
changeset
|
93 |
"Created: / 26-06-2018 / 12:37:56 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
7a9cf1d6be50
UX: improvements in disasembly view (`VDBInstructionListApplication`)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
77
diff
changeset
|
94 |
! |
7a9cf1d6be50
UX: improvements in disasembly view (`VDBInstructionListApplication`)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
77
diff
changeset
|
95 |
|
77
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
96 |
setInstruction: aGDBInstruction |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
97 |
instruction := aGDBInstruction |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
98 |
|
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
99 |
"Created: / 22-06-2018 / 12:19:54 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
100 |
! ! |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
101 |
|
220
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
102 |
!VDBInstructionPresenter methodsFor:'menu actions'! |
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
103 |
|
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
104 |
doCopyAddress |
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
105 |
self doCopy: '0x', (instruction address printStringRadix: 16 size: 16 fill: $0) |
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
106 |
! ! |
ae5ddc0ea07b
UI: add "Copy Address" item to instruction context menu.
Jan Vrany <jan.vrany@labware.com>
parents:
146
diff
changeset
|
107 |
|
77
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
108 |
!VDBInstructionPresenter methodsFor:'protocol-accessing'! |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
109 |
|
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
110 |
label |
91
c9da2e1b0327
UX: show original source line in disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
80
diff
changeset
|
111 |
^String streamContents:[ :s | |
c9da2e1b0327
UX: show original source line in disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
80
diff
changeset
|
112 |
(parent notNil and:[ parent askFor: #isInstructionsAndSourcePresenter ]) ifTrue:[ |
c9da2e1b0327
UX: show original source line in disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
80
diff
changeset
|
113 |
s next: parent lineDigitsToDisplay put: Character space. |
c9da2e1b0327
UX: show original source line in disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
80
diff
changeset
|
114 |
]. |
c9da2e1b0327
UX: show original source line in disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
80
diff
changeset
|
115 |
instruction address printOn: s base: 16 size: 16 fill: $0. |
c9da2e1b0327
UX: show original source line in disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
80
diff
changeset
|
116 |
s space. |
146
c037aa4ce54f
Fix rendering of an instruction in instruction list
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
117 |
s nextPutAll: instruction assembly withTabsExpanded |
91
c9da2e1b0327
UX: show original source line in disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
80
diff
changeset
|
118 |
] |
77
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
119 |
|
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
120 |
"Created: / 22-06-2018 / 12:21:32 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
146
c037aa4ce54f
Fix rendering of an instruction in instruction list
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
121 |
"Modified: / 30-01-2019 / 11:33:49 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
77
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
122 |
! ! |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
123 |
|
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
124 |
!VDBInstructionPresenter methodsFor:'testing'! |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
125 |
|
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
126 |
isInstructionPresenter |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
127 |
^ true |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
128 |
! ! |
163d914fae79
Add initial support for disassembly view
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
129 |
|
146
c037aa4ce54f
Fix rendering of an instruction in instruction list
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
130 |
!VDBInstructionPresenter class methodsFor:'documentation'! |
c037aa4ce54f
Fix rendering of an instruction in instruction list
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
131 |
|
c037aa4ce54f
Fix rendering of an instruction in instruction list
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
132 |
version_HG |
c037aa4ce54f
Fix rendering of an instruction in instruction list
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
133 |
|
c037aa4ce54f
Fix rendering of an instruction in instruction list
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
134 |
^ '$Changeset: <not expanded> $' |
c037aa4ce54f
Fix rendering of an instruction in instruction list
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
135 |
! ! |
c037aa4ce54f
Fix rendering of an instruction in instruction list
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
136 |