-
Notifications
You must be signed in to change notification settings - Fork 0
/
TEST.ASM
626 lines (522 loc) · 7.84 KB
/
TEST.ASM
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
; Author: Sly Kint Bacalso
; Date: February 7, 2020
; Modified By: Sly Kint Bacalso
; Description: This will prints kali linux screen fetch and graphics programming
; with turbo assembly
.8086 ; use 16 bits
.model small
.stack 10
.data
str1 db "..............$"
str2 db "..,;:ccc,.$"
str3 db "......''';lxO.$"
str4 db ".....''''..........,:ld;$"
str5 db ".';;;:::;,,.x, ,,$"
str6 db "..'''. 0Xxoc:,. ''.$"
str7 db ".... ,ONkc;,;cokOdc',.$"
str8 db ". OMo ':ddo.$"
str9 db "dMc :OO;$"
str10 db "0M. .:o.$"
str11 db ";Wd$"
str12 db ";XO,$"
str13 db " ,d0Odlc;,..$"
str14 db "..',;:cdOOd::,.$"
str15 db ".:d;.':;.$"
str16 db "'d, ';$"
str17 db ";l .$"
str18 db ".o$"
str19 db "c$"
str20 db ".'$"
str21 db ".$"
str22 db "TURBO ASSEMBLY PROGRAMMING$"
str23 db "Name: Sly Kint Bacalso$$"
str24 db "Course-Year: BSCS-2$"
str25 db "Core Subject: CS243-F1$"
str26 db "Specialty: SWE$"
str27 db "Skills >$"
str28 db "Assembly: $"
str29 db "C: $"
str30 db "C++: $"
str31 db "Java: $"
str32 db "C#: $"
str33 db "PHP: $"
str34 db "JS: $"
str37 db "Shell: $"
str38 db "Python: $"
str35 db "Machine OS: Kali Linux$"
str36 db "Kernel: x86_64 Linux amd64$"
.code
BEG:
mov ax,@data
mov ds,ax
mov ah,6
mov al,0
mov bh,09h
mov cx,0
mov dx,184fh
int 10h
mov ah,6
mov al,0
mov bh, 09h
mov cl, 49
mov ch, 2
mov dl, 90
mov dh, 50
int 10h
mov ah,2
mov bh,0
mov dl,49
mov dh,2
int 10h
mov ah,9
mov dx, offset str22
int 21h
mov ah,6
mov al,0
mov cl, 54
mov ch, 4
mov dl, 90
mov dh, 4
mov bh, 0fh
int 10h
mov ah,2
mov bh,0
mov dl,49
mov dh,4
int 10h
mov ah,9
mov dx, offset str23
int 21h
mov ah,6
mov al,0
mov cl, 61
mov ch, 5
mov dl, 90
mov dh, 5
mov bh, 0fh
int 10h
mov ah,2
mov bh,0
mov dl,49
mov dh,5
int 10h
mov ah,9
mov dx, offset str24
int 21h
mov ah,6
mov al,0
mov cl, 62
mov ch, 6
mov dl, 90
mov dh, 6
mov bh, 0fh
int 10h
mov ah,2
mov bh,0
mov dl,49
mov dh,6
int 10h
mov ah,9
mov dx, offset str25
int 21h
mov ah,6
mov al,0
mov cl, 59
mov ch, 7
mov dl, 90
mov dh, 7
mov bh, 0fh
int 10h
mov ah,2
mov bh,0
mov dl,49
mov dh,7
int 10h
mov ah,9
mov dx, offset str26
int 21h
mov ah,6
mov al,0
mov cl, 60
mov ch, 9
mov dl, 90
mov dh, 9
mov bh, 0fh
int 10h
mov ah,2
mov bh,0
mov dl,49
mov dh,9
int 10h
mov ah,9
mov dx, offset str35
int 21h
mov ah,6
mov al,0
mov cl, 56
mov ch, 10
mov dl, 90
mov dh, 10
mov bh, 0fh
int 10h
mov ah,2
mov bh,0
mov dl,49
mov dh,10
int 10h
mov ah,9
mov dx, offset str36
int 21h
mov ah,2
mov bh,0
mov dl,49
mov dh,12
int 10h
mov ah,9
mov dx, offset str27
int 21h
mov ah,6
mov al,0
mov cl, 59
mov ch, 13
mov dl, 68
mov dh, 13
mov bh, 0F0h
int 10h
mov ah,6
mov al,0
mov cl, 59
mov ch, 14
mov dl, 70
mov dh, 14
mov bh, 6fh
int 10h
mov ah,6
mov al,0
mov cl, 59
mov ch, 15
mov dl, 75
mov dh, 15
mov bh, 2fh
int 10h
mov ah,6
mov al,0
mov cl, 59
mov ch, 16
mov dl, 73
mov dh, 16
mov bh, 4fh
int 10h
mov ah,6
mov al,0
mov cl, 59
mov ch, 17
mov dl, 72
mov dh, 17
mov bh, 5fh
int 10h
mov ah,6
mov al,0
mov cl, 59
mov ch, 18
mov dl, 75
mov dh, 18
mov bh, 2fh
int 10h
mov ah,6
mov al,0
mov cl, 59
mov ch, 19
mov dl, 75
mov dh, 19
mov bh, 3fh
int 10h
mov ah,6
mov al,0
mov cl, 59
mov ch, 20
mov dl, 75
mov dh, 20
mov bh, 13h
int 10h
mov ah,6
mov al,0
mov cl, 59
mov ch, 21
mov dl, 70
mov dh, 21
mov bh, 3fh
int 10h
mov ah,2
mov bh,0
mov dl,49
mov dh,13
int 10h
mov ah,9
mov dx, offset str28
int 21h
mov ah,2
mov bh,0
mov dl,49
mov dh,14
int 10h
mov ah,9
mov dx, offset str29
int 21h
mov ah,2
mov bh,0
mov dl,49
mov dh,15
int 10h
mov ah,9
mov dx, offset str30
int 21h
mov ah,2
mov bh,0
mov dl,49
mov dh,16
int 10h
mov ah,9
mov dx, offset str31
int 21h
mov ah,2
mov bh,0
mov dl,49
mov dh,17
int 10h
mov ah,9
mov dx, offset str32
int 21h
mov ah,2
mov bh,0
mov dl,49
mov dh,18
int 10h
mov ah,9
mov dx, offset str33
int 21h
mov ah,2
mov bh,0
mov dl,49
mov dh,19
int 10h
mov ah,9
mov dx, offset str34
int 21h
mov ah,2
mov bh,0
mov dl,49
mov dh,20
int 10h
mov ah,9
mov dx, offset str37
int 21h
mov ah,2
mov bh,0
mov dl,49
mov dh,21
int 10h
mov ah,9
mov dx, offset str38
int 21h
; legend
; dl - x axis
; dh - y axis
; layer 1
mov ah,2
mov bh,0
mov dl,0
mov dh,1
int 10h
mov ah,9
mov dx, offset str1
int 21h
; layer 2
mov ah,2
mov bh,0
mov dl,12
mov dh,2
int 10h
mov ah,9
mov dx, offset str2
int 21h
; layer 3
mov ah,2
mov bh,0
mov dl,10
mov dh,3
int 10h
mov ah,9
mov dx, offset str3
int 21h
; layer 4
mov ah,2
mov ah,2
mov bh,0
mov dl,0
mov dh,4
int 10h
mov ah,9
mov dx, offset str4
int 21h
; layer 5
mov ah,2
mov bh,0
mov dl,11
mov dh,5
int 10h
mov ah,9
mov dx, offset str5
int 21h
; layer 6
mov ah,2
mov bh,0
mov dl,6
mov dh,6
int 10h
mov ah,9
mov dx, offset str6
int 21h
; layer 7
mov ah,2
mov bh,0
mov dl,2
mov dh,7
int 10h
mov ah,9
mov dx, offset str7
int 21h
; layer 8
mov ah,2
mov bh,0
mov dl,1
mov dh,8
int 10h
mov ah,9
mov dx, offset str8
int 21h
; layer 9
mov ah,2
mov bh,0
mov dl,20
mov dh,9
int 10h
mov ah,9
mov dx, offset str9
int 21h
; layer 10
mov ah,2
mov bh,0
mov dl,20
mov dh,10
int 10h
mov ah,9
mov dx, offset str10
int 21h
; layer 11
mov ah,2
mov bh,0
mov dl,20
mov dh,11
int 10h
mov ah,9
mov dx, offset str11
int 21h
; layer 12
mov ah,2
mov bh,0
mov dl,21
mov dh,12
int 10h
mov ah,9
mov dx, offset str12
int 21h
; layer 13
mov ah,2
mov bh,0
mov dl,22
mov dh,13
int 10h
mov ah,9
mov dx, offset str13
int 21h
; layer 14
mov ah,2
mov bh,0
mov dl,27
mov dh,14
int 10h
mov ah,9
mov dx, offset str14
int 21h
; layer 15
mov ah,2
mov bh,0
mov dl,36
mov dh,15
int 10h
mov ah,9
mov dx, offset str15
int 21h
; layer 16
mov ah,2
mov bh,0
mov dl,39
mov dh,16
int 10h
mov ah,9
mov dx, offset str16
int 21h
; layer 17
mov ah,2
mov bh,0
mov dl,41
mov dh,17
int 10h
mov ah,9
mov dx, offset str17
int 21h
; layer 18
mov ah,2
mov bh,0
mov dl,42
mov dh,18
int 10h
mov ah,9
mov dx, offset str18
int 21h
; layer 19
mov ah,2
mov bh,0
mov dl,44
mov dh,19
int 10h
mov ah,9
mov dx, offset str19
int 21h
; layer 20
mov ah,2
mov bh,0
mov dl,44
mov dh,20
int 10h
mov ah,9
mov dx, offset str20
int 21h
; layer 21
mov ah,2
mov bh,0
mov dl,45
mov dh,21
int 10h
mov ah,9
mov dx, offset str21
int 21h
; set input cursor at last
mov ah,2
mov dx, 184fh
mov bh,0
int 10h
mov ax,4c00h
int 21h
end