summaryrefslogtreecommitdiff
path: root/data/tips.xml
blob: 3fca882475f3ce16441f43f47391cdf3349e0661 (plain)
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE tips [
	<!-- ROOT ELEMENT -->
	<!ELEMENT tips (tip)*>

	<!-- Tip text (Text must be in CDATA section)
		<b>Bold text</b> normal text
	-->
	<!ELEMENT tip EMPTY>

	<!-- Parameters for tag "tip":
		lang	- Text language
	-->
	<!ATTLIST tip
		lang	CDATA	#REQUIRED
	>
]>
<tips>
	<tip lang="en">
		<![CDATA[
			You can cycle through all opened documents by pressing <b>Alt+Left</b> or <b>Alt+Right</b>. The next/previous document will immediately be displayed in the active frame.
		]]>
	</tip><tip lang="en">
		<![CDATA[
			Graph (tab "IO Ports") significantly slows down MCU simulation ! It is a good to keep it off unless you need it.
		]]>
	</tip><tip lang="en">
		<![CDATA[
			You can repeat your last search by just pressing <b>F3</b>, or <b>Shift+F3</b> if you want to search backwards.
		]]>
	</tip><tip lang="en">
		<![CDATA[
			You can swap the characters on each side of the cursor just by pressing <b>Ctrl+T</b>
		]]>
	</tip><tip lang="en">
		<![CDATA[
			You can configure syntax highlighting in <b>Editor configuration dialog</b>.
			<b>Configure</b> -> <b>Editor Configuration</b>
		]]>
	</tip><tip lang="en">
		<![CDATA[
			You can easily switch between tabs on Bottom and Right panel.
			  <b>Ctrl+1</b> -> <b>Simulator</b>	(Bottom panel)
			  <b>Ctrl+2</b> -> <b>Graph</b>		(Bottom panel)
			  <b>Ctrl+3</b> -> <b>Messages</b>	(Bottom panel)
			  <b>Ctrl+4</b> -> <b>Todo</b>		(Bottom panel)
			  <b>Ctrl+5</b> -> <b>Calculator</b>	(Bottom panel)
			  <b>Ctrl+6</b> -> <b>Graph</b>		(Bottom panel)
			  <b>Ctrl+7</b> -> <b>Bookmarks</b>	(Right panel)
			  <b>Ctrl+8</b> -> <b>Breakpoints</b>	(Right panel)
			  <b>Ctrl+9</b> -> <b>Register watches</b>	(Right panel)
			  <b>Ctrl+0</b> -> <b>Instruction</b>	(Right panel)
		]]>
	</tip><tip lang="en">
		<![CDATA[
			Sometimes you can make your work easier with editor command line. Inkove it by <b>F10</b> and type <b>help list</b> to get list of avaliable commands.
		]]>
	</tip><tip lang="en">
		<![CDATA[
			Use <b>quick search bars</b>. For instance you need to find a file in list of opened file. Write the name of that file to entrybox below the list and it's done.
		]]>
	</tip><tip lang="en">
		<![CDATA[
			Burn your MSC51 manual (or better colleague's manual). Tab <b>"Instruction details"</b> (<b>Ctrl+0</b>) in the right panel gives you a list of all possible operands for instruction on current line in the editor.
		]]>
	</tip><tip lang="en">
		<![CDATA[
			You can use function <b>Auto-indent</b> to make badly formated code more readable.

			   main: mov A,             #55h
			 mov	R0,#20h
			    movx @R0,    A
			         sjmp        main
			<b>Tools</b> -> <b>Auto indent</b>
			main: mov     A, #55h
			        mov     R0, #20h
			        movx    @R0, A
			        sjmp    main
		]]>
	</tip><tip lang="en">
		<![CDATA[
			Almost all shortcuts can be redefined in <b>Shortcuts configuration</b> dialog
		]]>
	</tip><tip lang="en">
		<![CDATA[
			You can edit content of external data memory and program memory with embedded hexadecimal editor. <b>Simulator</b> -> <b>Show ... memory</b>. So you can write programs directly in machine code (but is's better to use compiler).
		]]>
	</tip><tip lang="en">
		<![CDATA[
			You can quickly open files using <b>Filesystem browser</b> on left panel.
		]]>
	</tip><tip lang="en">
		<![CDATA[
			This program have also supprot for command line interaface (CLI). Run <b>mcu8051ide --help</b> to get list of possible options.
		]]>
	</tip><tip lang="en">
		<![CDATA[
			Sometimes you might need to run an external program (e.g program uploader). In MCU 8051 IDE it can be accomplished by <b>Custom commands</b> ( <b>Configure</b> -> <b>Custom commands</b> ).
		]]>
	</tip><tip lang="en">
		<![CDATA[
			You can export current document (assembly language source) as XHTML-1.1 or LaTeX.
			<b>Tools</b> -> <b>Export as ...</b>
		]]>
	</tip><tip lang="en">
		<![CDATA[
			You can convert between Intel® HEX 8 and binary files.
			<b>Tools</b> -> <b>... -> ...</b>
		]]>
	</tip><tip lang="en">
		<![CDATA[
			Right panel provides list of bookmarks and breakpoints defined in the editor.
		]]>
	</tip><tip lang="en">
		<![CDATA[
			You can use various encodings and EOLs (End Of Line).
			<b>Tools</b> -> <b>Encoding/EOL</b>
		]]>
	</tip><tip lang="en">
		<![CDATA[
			<b>Register watches</b> can make your work much easier. You can find them in the Right panel. Enter hexadecimal address of register which you want to watch to entry box with label "Addr" and press Enter. (1 or 2 hexadecimal digits means <b>IDATA</b> and 3 or 4 digits means <b>XDATA</b>)
		]]>
	</tip><tip lang="en">
		<![CDATA[
			You can discuss this project at <b>http://mcu8051ide.sourceforge.net</b>.

			If you do find a bug, please report it either via <b>http://sourceforge.net/tracker/?func=add&group_id=185864&atid=914981</b> or via mail <b>martin.osmera@gmail.com</b>.
		]]>
	</tip><tip lang="en">
		<![CDATA[
			You can customize compiler behavior in <b>Compiler config</b> dialog.
		]]>
	</tip><tip lang="en">
		<![CDATA[
			You can enable/disable <b>popup-based completion</b> in editor configuration dialog.
		]]>
	</tip><tip lang="en">
		<![CDATA[
			You can significantly improve simulator speed by:
			  <b>1)</b> Disabling <b>Step back function</b>
			  <b>2)</b> Disabling <b>Graph</b>
		]]>
	</tip><tip lang="en">
		<![CDATA[
			Editor can be splitted vertical or horizontal. It Right click on editor status bar and choose split.
		]]>
	</tip><tip lang="en">
		<![CDATA[
			You can step your program back, default key shortcut is: <b>Ctrl+F7</b>. Behavior of this capability can be modified in simulator configuration dialog.
		]]>
	</tip><tip lang="en">
		<![CDATA[
			MCU 8051 IDE can "hibernate" running program into a file. Later you can resume the hibernated program excatly from the same point where it was hibernated.
			<b>Simulator</b> -> <b> Hibernate program </b>
			<b>Simulator</b> -> <b> Resume hibernated program </b>
		]]>
	</tip><tip lang="en">
		<![CDATA[
			You can navigate simulator to certain line in your source code. Press <b>Ctrl+G</b> in simulator mode and choose line. Simulator will set PC (Program Counter) to address in program memory coresponding to your choosen line.
		]]>
	</tip><tip lang="en">
		<![CDATA[
			MCU 8051 IDE assembler can perform certain code optimalizations. They are enabled by default but you can disable the in compiler configuration dialog.

			More about optimalizations:
			  LJMP code11	--> AJMP code11
			  LJMP code8	--> SJMP code11
			  LJMP code8	--> SJMP code8
			  AJMP code8	--> SJMP code8
			  LCALL code11	--> ACALL code11
			  MOV 224d, ... --> MOV A, ...
			  MOV ..., 224d --> MOV ..., A
			  SETB 215	--> SETB C
			  CLR 215	--> CLR C
		]]>
	</tip><tip lang="en">
		<![CDATA[
			Sometimes it is not easy to track subprograms and interrupts invocations. In this IDE you can track them quite easily usining "Interrupt monitor" (<b>Simulator -> Interrupt Monitor</b>) and "List of subprograms" (<b>Ctrl+0</b>).
		]]>
	</tip><tip lang="en">
		<![CDATA[
			<b>Map of SFR</b> (<b>Simulator -> Map of SFR</b>) can provide you a transparent view of all special function registers avaliable on your choosen MCU.
		]]>
	</tip>
<!--
	<tip lang="en">
		<![CDATA[
		]]>
	</tip>
-->
</tips>