-
Notifications
You must be signed in to change notification settings - Fork 0
/
stars.asm
53 lines (35 loc) · 1.05 KB
/
stars.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
; #########################################################################
;
; stars.asm - Assembly file for CompEng205 Assignment 1
; Connor Selna
; CPS7865
; #########################################################################
.586
.MODEL FLAT,STDCALL
.STACK 4096
option casemap :none ; case sensitive
include stars.inc
.DATA
;; If you need to, you can place global variables here
.CODE
DrawStarField proc
invoke DrawStar, 150, 200
invoke DrawStar, 200, 200
invoke DrawStar, 200, 150
invoke DrawStar, 150, 150
invoke DrawStar, 250, 200
invoke DrawStar, 200, 250
invoke DrawStar, 250, 250
invoke DrawStar, 50, 100
invoke DrawStar, 100, 50
invoke DrawStar, 100, 100
invoke DrawStar, 50, 50
invoke DrawStar, 150,100
invoke DrawStar, 100, 150
invoke DrawStar, 200, 50
invoke DrawStar, 300, 50
invoke DrawStar, 400,50
invoke DrawStar, 265, 350
ret ; Careful! Don't remove this line
DrawStarField endp
END