-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathNASMIDE.TXT
More file actions
4570 lines (3019 loc) · 138 KB
/
NASMIDE.TXT
File metadata and controls
4570 lines (3019 loc) · 138 KB
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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
.topic hcNoContext=0, hcHelpContents=1610
Ü NASM-IDE online help
ßßßßßßßßßßßßßßßßßßßßßßß
Welcome to the NASM-IDE 1.7 online help. This section contains details on
using NASM-IDE to write and test your assembler code. The NASM documentation
is for version 0.98.08 - it is recommended that you consult the documentation
supplied with NASM for more up to date information.
The latest version of NASM can be downloaded from http://nasm.octium.net/ or
http://nasm.2y.net/
Ü Contents
ßßßßßßßßßßß
þ {How to use help:hcHelpUsing}
þ {Menus and hot keys:hcHelpMenus}
þ {Edit windows:hcEditWindow}
þ {Using ASM Assistants:hcHelpAsmAssist}
þ {Programming in NASM:hcHelpNasmDoc}
þ {Credits:hcCredits}
.topic hcHelpUsing=1630
Ü Using NASM-IDE online help
ßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
You can learn about NASM-IDE and assembly language programming using NASM
through this online Help system.
þ what you're reading right now is a help screen
þ most help screens have some highlighted items called help keywords on them
that lead to another help screen
þ you can use the tab key to move the cursor from one Help keyword to
another, then press enter to choose that item
þ with the mouse, you can click a help keyword to choose that item
{ Back to contents screen:hcHelpContents}
.topic hcHelpMenus=10000
Ü Menus and hot keys
ßßßßßßßßßßßßßßßßßßßßß
You can choose from any of these commands on the menu bar:
þ {File:hcFileMenu}
þ {Edit:hcEditMenu}
þ {Search:hcSearchMenu}
þ {Assemble:hcAssembleMenu}
þ {Options:hcOptionsMenu}
þ {Window:hcWindowMenu}
þ {Help:hcHelpMenu}
For further instructions on using the menu bar, see {'How to use the menu bar':hcHelpUsingMenus}
For information about menu hot keys, go to the {Hot keys:hcHelpHotKeys} section.
{ Back to contents screen:hcHelpContents}
.topic hcHelpUsingMenus=10006
Ü How to use the menu bar
ßßßßßßßßßßßßßßßßßßßßßßßßßß
When you're in a window, there are three ways to select a menu command:
ÚÄÄÄÄÄ¿ Press F10, then use the arrow keys
³ F10 ³ to go to the menu you want and use
ÀÄÄÄÄÄÙ them again to select a command.
Press enter to choose the selected
command.
ÚÄÄÄÄÄ¿ Press Alt and the highlighted letter
³ Alt ³ of the menu you want (such as Alt+F
ÀÄÄÄÄÄÙ for the File menu), use the arrow
keys to select a command, then press
enter to choose that command.
You can also press the highlighted letter of a menu name or command instead of
using the arrow keys.
ÚÄÄ[ð]ÄÄ¿ Click the title of the menu you want
³ Mouse ³ to pull down, then click the menu
ÀÄÄÄÄÄÄÄÙ command you want to choose.
The highlighted menu title is the currently selected menu.
Menu commands are followed by either an ellipsis mark (...), an arrow, or a
hot key.
Mark ³ Name ³ What the menu command does
ÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
... ³ Ellipsis ³ Brings up a dialog box
³ ³
> ³ Arrow ³ Displays another menu
³ ³
F4 ³ Hot key ³ Initiates some action when
(etc.)³ ³ you choose that command or
³ ³ press the specified hot key
{ Back to Menus and hot keys:hcHelpMenus}
.topic hcHelpHotKeys=10007
Ü Hot Keys
ßßßßßßßßßßß
NASM-IDE's hot keys, or shortcuts, are two or three-key combinations
you can press to enact a menu command directly, without pulling down any
menus.
NASM-IDE provides hot keys for these types of commands:
{Menu bar commands:hcHotKeyMenu} {Editing:hcHotKeyEdit}
{Window management:hcHotKeyWindow} {Online help:hcHotKeyHelp}
{Program management:hcHotKeyProgram}
{ Back to Menus and hot keys:hcHelpMenus}
.topic hcHotKeyMenu=10008
Ü Menu bar hot keys
ßßßßßßßßßßßßßßßßßßßß
Hot Key ³ Goes to This Menu
ÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
Alt+A ³ Assemble
Alt+E ³ Edit
Alt+F ³ File
Alt+H ³ Help
Alt+O ³ Options
Alt+S ³ Search
Alt+W ³ Window
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
Alt+X ³ Exits NASM-IDE to DOS
F10 ³ Goes to the menu bar
{ Back to Hot keys:hcHelpHotKeys}
.topic hcHotKeyEdit=10009
Ü Editing hot keys
ßßßßßßßßßßßßßßßßßßß
(E³= Edit³, S³= Search³, F³= File³)
Hot Key ³ What It Does ³ Menu Command
ÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
Ctrl+Del ³ Removes selected text from the window ³ E³Clear
³ but doesn't put it in the clipboard ³
³ ³
Ctrl+L ³ Repeats last Find or Replace command ³ S³Search again
³ ³
Alt+S R ³ Opens Find and Replace dialog box ³ S³Replace
³ ³
Alt+S F ³ Opens a Find dialog box ³ S³Find
³ ³
F2 ³ Saves file in active edit window ³ F³Save
³ ³
F3 ³ Brings up Open a File dialog box so ³ F³Open
³ you can open a file ³
³ ³
Shift-Del ³ Places selected text in the clipboard ³ E³Cut
³ ³
Shift-Ins ³ Pastes text into the active window ³ E³Paste
³ from the clipboard ³
{ Back to Hot keys:hcHelpHotKeys}
.topic hcHotKeyWindow=10010
Ü Window management hot keys
ßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
(W³= Window³)
Hot Key ³ What It Does ³ Menu Command
ÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
Alt+F3 ³ Closes the active window ³ W³Close
³ ³
F5 ³ Zooms/unzooms the active window ³ W³Zoom
³ ³
F6 ³ Switches the active window ³ W³Next
³ ³
Alt+F6 ³ Returns to the previously active ³ W³Previous
³ window ³
³ ³
Ctrl+F5 ³ Changes size or position of ³ W³Size/Move
³ active window ³
{ Back to Hot keys:hcHelpHotKeys}
.topic hcHotKeyHelp=10011
Ü Online help hot keys
ßßßßßßßßßßßßßßßßßßßßßßß
(H³= Help³)
Hot Key ³ What It Does ³ Menu Command
ÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
F1 ³ Opens an online help screen ³
³ ³
Shift+F1 ³ Brings up help contents ³ H³Contents
³ ³
{ Back to Hot keys:hcHelpHotKeys}
.topic hcHotKeyProgram=10012
Ü Program management hot keys
ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
(A³=Assemble³)
Hot Key ³ What It Does ³ Menu Command
ÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
Alt+F9 ³ Assembles program ³ A³Assemble
³ ³
Ctrl+F9 ³ Runs program ³ A³Run
³ ³
F9 ³ Builds program ³ A³Build
{ Back to Hot keys:hcHelpHotKeys}
.topic hcCancel=3000
Ü Cancel button
ßßßßßßßßßßßßßßßß
ÚÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ [ Cancel ] ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÙ
If you choose Cancel, nothing changes and no action occurs, but the dialog
box is closed.
Esc is always a keyboard shortcut for Cancel even if a Cancel button does
not appear in the dialog box.
{ Back to contents screen:hcHelpContents}
.topic hcNo=3010
Ü No button
ßßßßßßßßßßßß
ÚÄÄÄÄÄÄÄÄ¿
³ [ No ] ³
ÀÄÄÄÄÄÄÄÄÙ
Press N for No, or click the No button, to cancel the initiated action.
{ Back to contents screen:hcHelpContents}
.topic hcOk=3020
Ü OK button
ßßßßßßßßßßßß
ÚÄÄÄÄÄÄÄÄ¿
³ [ OK ] ³
ÀÄÄÄÄÄÄÄÄÙ
If you choose this button, the settings you've made in the dialog box
are recorded in NASM-IDE.
If this is the default button, you only need to press enter to choose it.
{ Back to contents screen:hcHelpContents}
.topic hcYes=3030
Ü Yes button
ßßßßßßßßßßßßß
ÚÄÄÄÄÄÄÄÄÄ¿
³ [ Yes ] ³
ÀÄÄÄÄÄÄÄÄÄÙ
Press Y for Yes, or click the Yes button, to continue the initiated action.
{ Back to contents screen:hcHelpContents}
.topic hcNext=3040
Ü Next button
ßßßßßßßßßßßßßß
ÚÄÄÄÄÄÄÄÄÄÄ¿
³ [ Next ] ³
ÀÄÄÄÄÄÄÄÄÄÄÙ
Pressing the Next button in an ASM Assistant will allow you to progress to
the next stage of the assistant, saving any of the selections you have made
so far.
{ Back to contents screen:hcHelpContents}
.topic hcFinish=3050
Ü Finish button
ßßßßßßßßßßßßßßßß
ÚÄÄÄÄÄÄÄÄÄÄ¿
³ [Finish] ³
ÀÄÄÄÄÄÄÄÄÄÄÙ
The finish button appears on the final screen of an ASM Assistant. Pressing
finish will cause the assistant to carry out tasks based on input from you
earlier in the assistant.
{ Back to contents screen:hcHelpContents}
.topic hcHelp=3060
Ü Help button
ßßßßßßßßßßßßßß
ÚÄÄÄÄÄÄÄÄÄÄ¿
³ [ Help ] ³
ÀÄÄÄÄÄÄÄÄÄÄÙ
Pressing the help button will bring up a help screen containing information
on the currently selected part of the dialog.
Help can also be activated by pressing the F1 key.
{ Back to contents screen:hcHelpContents}
.topic hcOpenBtn=3070
Ü Open button
ßßßßßßßßßßßßßß
ÚÄÄÄÄÄÄÄÄÄÄ¿
³ [ Open ] ³
ÀÄÄÄÄÄÄÄÄÄÄÙ
The open button opens a new edit window and places the selected file
in that window.
{ Back to contents screen:hcHelpContents}
.topic hcHistoryList=10005
Ü History list
ßßßßßßßßßßßßßßß
The history list attached to an input box lists whatever text you typed the
last few times you used the dialog box.
You can get to the history list whenever you see a down-arrow icon to the
right of an input box.
You can use the history list to re-enter text that you've already entered.
You can also edit an entry in the history list directly.
Press esc to exit from the history list without making a selection.
{ Back to contents screen:hcHelpContents}
.topic hcFileMenu=1000
Ü File (Alt+F)
ßßßßßßßßßßßßßßßß
The File menu offers choices for opening and loading existing files,
creating new files, saving files, printing files, shelling to DOS and exiting
NASM-IDE.
The following choices are available.
{New:hcFileNew} {Open:hcFileOpen} {Reopen:hcFileReopen}
{Save:hcFileSave} {Save As:hcFileSaveAs} {Save All:hcFileSaveAll}
{Change Dir:hcFileChangeDir} {Print:hcFilePrint} {DOS shell:hcFileDosShell}
{Exit:hcFileExit}
{ Back to Menus and hot keys:hcHelpMenus}
.topic hcFileNew=1005,hcFileNewBlank=1010,hcFileNewAssist=1015
Ü File³New
ßßßßßßßßßßß
Selecting New presents you with a submenu containing two options, described
below.
Ü Blank file
ßßßßßßßßßßßßß
Opens a new edit window with the default name Untitled and automatically
makes the new edit window active.
Untitled files are used as temporary edit buffers and NASM-IDE prompts
you to name an untitled file when you save it.
Ü ASM Assistant...
ßßßßßßßßßßßßßßßßßßß
Selecting ASM Assistant will start the new file assistant. For more information
see {Using ASM Assistants:hcHelpAsmAssist}.
{ Back to File menu:hcFileMenu}
.topic hcHelpAsmAssist=10001
Ü ASM Assistants
ßßßßßßßßßßßßßßßßß
The current version of NASM-IDE only features one ASM Assistant, the {create new file assistant:hcFileNewAssistant1}.
{ Back to contents:hcHelpContents}
.topic hcFileNewAssistant1=3200
Ü Create new file assistant (1/4)
ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
The create new file assistant helps you to create a simple assembly language
source file. It does this by asking questions about how you would like
your source code file creating, and then automatically inserts the required
text into a new edit window.
The create new file assistant consists of four screens.
þ welcome screen
þ {code generation options:hcFileNewAssistant2}
þ {segement options:hcFileNewAssistant3}
þ {confirmation screen:hcFileNewAssistant4}
{ Back to contents:hcHelpContents}
.topic hcFileNewAssistant2=3210
Ü Create new file assistant (2/4)
ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
The code generation screen is shown below.
ÉÍ[þ]ÍÍÍÍÍÍÍÍÍÍÍÍ ASM Assistant 2/4 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
º º
º A Select the options which you wish to A º
º S include in your assembler project S º
º M M º
º º
º Ú {Code Generation:hcFileNewAssistCode} ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ º
º ³ () 16 bit ³ º
º ³ ( ) 32 bit ³ º
º ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ º
º Ú {Start Address:hcFileNewAssistStart} ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ º
º ³ 0000h (DOS .SYS file) ³ º
º ³ 0100h (DOS .COM file) ³ º
º ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ º
º º
º {Cancel:hcCancel} Ü {Help:hcHelp} Ü {Next >>:hcNext}Ü º
º ßßßßßßßß ßßßßßßßß ßßßßßßßß º
º º
ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
{ Back to create new file assistant (1/4):hcFileNewAssistant1}
.topic hcFileNewAssistCode=10002
Ü Create new file assistant (2/4)
ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
Ú Code Generation ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ () 16 bit ³
³ ( ) 32 bit ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
Allows you to select whether the assembler should use 16 or 32 bit code
generation. Please note that even if you select 16 bit code, you can still
make use of 32 bit registers and opcodes.
This option corresponds to a BITS assembler directive.
{ Back to create new file assistant (2/4):hcFileNewAssistant2}
.topic hcFileNewAssistStart=10003
Ü Create new file assistant (2/4)
ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
Ú Start Address ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ 0000h (DOS .SYS file) ³
³ 0100h (DOS .COM file) ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
Allows the code start address to be set. This only applys to binary output
code (.COM and .SYS), and corresponds to an ORG assembler directive.
{ Back to create new file assistant (2/4):hcFileNewAssistant2}
.topic hcFileNewAssistant3=3220
Ü Create new file assistant (3/4)
ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
The segment options screen is shown below.
ÉÍ[þ]ÍÍÍÍÍÍÍÍÍÍÍÍ ASM Assistant 3/4 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
º º
º A Select which segments you would like A º
º S ASM Assistant to automatically insert S º
º M into your assembler project M º
º º
º Ú {Segments:hcFileNewAssistSegment} ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ º
º ³ [ ] .text (main code segment) ³ º
º ³ [ ] .data (initialised data) ³ º
º ³ [ ] .bss (uninitialised data) ³ º
º ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ º
º º
º {Cancel:hcCancel} Ü {Help:hcHelp} Ü {Next >>:hcNext}Ü º
º ßßßßßßßß ßßßßßßßß ßßßßßßßß º
º º
ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
{ Back to create new file assistant (2/4):hcFileNewAssistant2}
.topic hcFileNewAssistSegment=10004
Ü Create new file assistant (3/4)
ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
Ú Segments ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ [ ] .text (main code segment) ³
³ [ ] .data (initialised data) ³
³ [ ] .bss (uninitialised data) ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
Allows you to select what segments to insert into the new file. This option
corresponds to a SEGMENT assembler directive.
þ .text - this is the segemnt where program code is entered
þ .data - this is where initialised data is entered (using the DB/DW/DD opcodes)
þ .bss - this is where uninitialised data is entered (using the RESB/RESW/RESD opcodes}
Not all segment names apply to all output type, refer to the {programming in NASM:hcHelpNasmDoc}
section for more information.
{ Back to create new file assistant (3/4):hcFileNewAssistant3}
.topic hcFileNewAssistant4=3230
Ü Create new file assistant (4/4)
ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
The confirmation screen is shown below, press Finish to create the new source
code file, press Cancel to exit from the assistant.
ÉÍ[þ]ÍÍÍÍÍ ASM Assistant 4/4 ÍÍÍÍÍÍÍÍÍÍ»
º º
º A ASM Assistant will now A º
º S create your assembler S º
º M project M º
º º
º {Cancel:hcCancel} Ü {Finish:hcFinish} Ü º
º ßßßßßßßß ßßßßßßßß º
ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
{ Back to create new file assistant (3/4):hcFileNewAssistant3}
.topic hcFileOpen=1020
Ü File³Open (F3)
ßßßßßßßßßßßßßßßßß
The open command displays the Open file dialog box. In this dialog box,
you select the source code file you want to open in an Edit window.
The Open file dialog box is shown below.
ÉÍ[þ]ÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Open file ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
º º
º {Name:hcFileName} º
º *.ASM ÞÝ {Open:hcOpenBtn} Ü º
º ßßßßßßßßß º
º {Files:hcFileList} º
º BINTEST.ASM ³ {Cancel:hcCancel} Ü º
º DIFF.ASM ³ ßßßßßßßßß º
º LEAP.ASM ³ º
º DOCS\ ³ {Help:hcHelp} Ü º
º TEMP\ ³ ßßßßßßßßß º
º TERMINAL\ ³ º
º ..\ ³ º
º ³ º
º þ±±±±±±±±±±±±±±±±±±±±±±±±±±±± º
º º
º C:\NASMIDE\EXAMPLES\*.ASM º
º BINTEST.ASM 1343 Nov 15, 1997 2:39pm º
ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
The dialog is made up of the following elements.
þ an input box with a {history list:hcHistoryList}
þ a list box to traverse
þ the standard Cancel and Help action buttons
þ an open button
þ an information panel that describes the selected file
{ Back to File menu:hcFileMenu}
.topic hcFileName=3130
Ü File name input box
ßßßßßßßßßßßßßßßßßßßßßß
ÚÄ Name ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
The Name input box is where you enter the filename you want to open, or save
the file under, or the file-name mask for the {files:hcFileList} list box.
This input box has a {history list:hcHistoryList} attached to it.
{ Back to contents:hcHelpContents}
.topic hcFileList=3140
Ü Files list box
ßßßßßßßßßßßßßßßßß
Ú Files ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ ³
³ FILENM01.ASM ³ FILENM09.ASM ³
³ FILENM02.ASM ³ FILENM10.ASM ³
³ FILENM03.ASM ³ FILENM11.ASM ³
³ FILENM04.ASM ³ FILENM12.ASM ³
³ FILENM05.ASM ³ ..\ ³
³ FILENM06.ASM ³ \MOREXAMP ³
³ FILENM07.ASM ³ \TOURS ³
³ FILENM08.ASM ³ \ANSWERS.DIR ³
³ ±±±þ±±±±±±±±±±±±±±±±±±±±±±±±±±±³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
The files list box lists the names of files in the current directory that
match the file-name mask in the {file name input box:hcFileName}, plus the
parent directory and all subdirectories.
{ Back to contents:hcHelpContents}
.topic hcFileReopen=1060
Ü File³Reopen
ßßßßßßßßßßßßßß
Choose File|Reopen to reopen a recently closed file. When you close a file,
it is added to the Reopen list.
When you select Reopen, a list of the five most recently closed files is
displayed. Select the file you wish to reopen using the mouse, cursor keys,
or by pressing the number shown in red to the left of the filename.
The selected file will be opened in a new edit window.
{ Back to contents:hcHelpContents}
.topic hcFileSave=1025
Ü File³Save (F2)
ßßßßßßßßßßßßßßßßß
The save command saves the file that is in the active Edit window to disk.
If the file is untitled then NASM-IDE opens the {Save File As:hcFileSaveAs} dialog box so
you can rename the file and save it in a different directory or on a different
drive.
{ Back to File menu:hcFileMenu}
.topic hcFileSaveAs=1030
Ü File³Save As...
ßßßßßßßßßßßßßßßßßß
Save As opens the Save file as dialog box, where you can save the file in
the active Edit window under a different name, in a different directory, or
on a different drive.
You can enter the new file name, including the drive and directory, and
click or choose OK to save the file.
The Save file as dialog box is shown below.
ÉÍ[þ]ÍÍÍÍÍÍÍÍÍÍÍ Save file as ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
º º
º {Name:hcFileName} º
º *.ASM ÞÝ {OK:hcOk} Ü º
º ßßßßßßßßß º
º {Files:hcFileList} º
º BINTEST.ASM ³ {Cancel:hcCancel} Ü º
º DIFF.ASM ³ ßßßßßßßßß º
º LEAP.ASM ³ º
º DOCS\ ³ {Help:hcHelp} Ü º
º TEMP\ ³ ßßßßßßßßß º
º TERMINAL\ ³ º
º ..\ ³ º
º ³ º
º þ±±±±±±±±±±±±±±±±±±±±±±±±±±±± º
º º
º C:\NASMIDE\EXAMPLES\*.ASM º
º BINTEST.ASM 1343 Nov 15, 1997 2:39pm º
ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
The dialog is made up of the following elements.
þ an input box with a {history list:hcHistoryList}
þ a list box to traverse
þ the standard Cancel and Help action buttons
þ an OK (save) button
þ an information panel that describes the selected file
{ Back to File menu:hcFileMenu}
.topic hcFileSaveAll=1035
Ü File³Save all
ßßßßßßßßßßßßßßßß
Save all saves all modified files in open edit windows.
{ Back to File menu:hcFileMenu}
.topic hcFileChangeDir=1040
Ü File³Change dir...
ßßßßßßßßßßßßßßßßßßßßß
Change dir brings up the {Change Directory dialog box:hcFileChangeDirDialog},
where you can specify a directory to make current.
The current directory is the one NASM-IDE uses to save files and to look
for files.
{ Back to File menu:hcFileMenu}
.topic hcFileChangeDirDialog=3120
Ü The Change Directory dialog box
ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
The Change Directory dialog box consists of an input box, a list box, the
standard OK and Help buttons, and two other buttons: Chdir and Revert.
Ú {Directory name:hcFileDirName} ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
The Directory Name input box is where you type in the path of the new
directory.
Ú {Directory tree:hcFileDirTree} ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ Drives ³
³ ÀÄÂC:\ ³
³ ÀÄÂNASMIDE ³
³ ÀÄÄEXAMPLES ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
The Directory Tree list box is where you point to (or move the cursor to) a
directory name and choose the directory you want.
If you're using the keyboard, press enter to make the selected directory be
the current directory, then choose OK or press esc to exit the dialog box.
ÚÄÄÄÄÄÄÄÄÄ¿
³ [{Chdir:hcFileChDir}] ³
ÀÄÄÄÄÄÄÄÄÄÙ
The Chdir button initiates the directory change once you've selected or
typed in a directory name.
ÚÄÄÄÄÄÄÄÄÄÄ¿
³ [{Revert:hcFileRevert}] ³
ÀÄÄÄÄÄÄÄÄÄÄÙ
The Revert button goes back to the previous directory, as long as you
haven't yet exited the dialog box.
{ Back to contents screen:hcHelpContents}
.topic hcFileDirName=3150
Ü The Change Directory dialog box
ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
Ú Directory name ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
The Directory Name input box is where you type in the path of the new
directory you want to change to.
This input box has a {history list:hcHistoryList} attached to it.
{ Back to Change Directory dialog box screen:hcFileChangeDirDialog}
.topic hcFileDirTree=3160
Ü The Change Directory dialog box
ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
Ú Directory tree ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ Drives ³
³ ÀÄÂC:\ ³
³ ÀÄÂNASMIDE ³
³ ÀÄÄEXAMPLES ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
The Directory Tree list box is where you select the directory you want to
move to.
From the keyboard, press enter to make the selected directory be the current
directory, then choose OK.
As soon as you change directories, the new current directory tree appears in
the Directory Tree list box.
{ Back to Change Directory dialog box screen:hcFileChangeDirDialog}
.topic hcFileChDir=3170
Ü The Change Directory dialog box
ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
ÚÄÄÄÄÄÄÄÄÄ¿
³ [Chdir] ³
ÀÄÄÄÄÄÄÄÄÄÙ
Once you've typed a directory name in the input box, or selected one in the
Directory Tree list box, choose the Chdir button.
Choose Cancel if you change your mind.
You can also just press enter once the file is selected, or you can
double-click the file name.
{ Back to Change Directory dialog box screen:hcFileChangeDirDialog}
.topic hcFileRevert=3180
Ü The Change Directory dialog box
ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
ÚÄÄÄÄÄÄÄÄÄÄ¿
³ [Revert] ³
ÀÄÄÄÄÄÄÄÄÄÄÙ
If you change your mind about the directory you've picked and you want to go
back to the previous one (and you haven't yet exited the dialog box), choose
the revert button.
{ Back to Change Directory dialog box screen:hcFileChangeDirDialog}
.topic hcFilePrint=1045
Ü File³Print
ßßßßßßßßßßßßß
The print command prints the contents of the active edit window to a printer
attached to LPT1.
The print command is disabled if the active window can't be printed.
{ Back to contents screen:hcHelpContents}
.topic hcFileDosShell=1050
Ü File³DOS Shell
ßßßßßßßßßßßßßßßßß
With the DOS shell command, you can leave NASM-IDE temporarily to perform a
DOS command or enter another program.
To return to NASM-IDE, type EXIT at the DOS prompt, then press enter.
{ Back to contents screen:hcHelpContents}
.topic hcFileExit=1055
Ü File³Exit (Alt+X)
ßßßßßßßßßßßßßßßßßßßß
The exit command exits NASM-IDE, removes it from memory, and returns you to
DOS.
If you've modified a source file without saving it, NASM-IDE prompts you to
do so before exiting.
{ Back to contents screen:hcHelpContents}
.topic hcEditMenu=1100
Ü Edit (Alt+E)
ßßßßßßßßßßßßßßß
The edit menu provides commands to cut, copy, and paste text in edit windows.
You can also open a Clipboard window to view or edit its contents.
You can choose from these edit menu commands.
{Undo:hcEditUndo} {Cut:hcEditCut} {Copy:hcEditCopy}
{Paste:hcEditPaste} {Clear:hcEditClear} {Show clipboard:hcEditShowClipboard}
{ Back to Menus and hot keys:hcHelpMenus}
.topic hcEditUndo=1105
Ü Edit³Undo (Alt+BkSp)
ßßßßßßßßßßßßßßßßßßßßßßß
The undo command takes back the last editing command you performed on a line.
Undo works on the last modified or deleted line.
{ Back to Edit menu:hcEditMenu}
.topic hcEditCut=1110
Ü Edit³Cut (Shift+Del)
ßßßßßßßßßßßßßßßßßßßßßßß
The cut command removes the selected text from your document and places the
text in the clipboard.
You can then choose Edit³{Paste:hcEditPaste} to paste the cut text into any
other document (or somewhere else in the same document).
The text remains selected in the clipboard so you can paste it as many times
as you want.
{ Back to Edit menu:hcEditMenu}
.topic hcEditCopy=1115
Ü Edit³Copy (Ctrl+Ins)
ßßßßßßßßßßßßßßßßßßßßßßß
The copy command leaves the selected text intact but places an exact copy of
it in the clipboard.