Recent content by angeliKITTYx
-
A
Write PEP8 Code: Display Full Name & Major
Answering myself... I tried this earlier, but it just seems like the cheap way! CHARO 0x004d,i ;Output "M" CHARO 0x0041,i ;Output "A" CHARO 0x004a,i ;Output "J" CHARO 0x004f,i ;Output "O" CHARO 0x0052,i ;Output "R" CHARO 0x003a,i ;Output ":" CHARO 0x0020,i ;Output " " CHARO 0x0053,i ;Output "S"...- angeliKITTYx
- Post #7
- Forum: Engineering and Comp Sci Homework Help
-
A
Write PEP8 Code: Display Full Name & Major
Here's what I ended up doing, which answers the question: BR main name1: .ASCII "FULL NAME: \x00" name2: .ASCII "mY nAmE \x00" major1: .ASCII "MAJOR: \x00" major2: .ASCII "Sciences \x00" main: STRO name1, d STRO name2, d STRO major1, d STRO major2, d STOP .END HOWEVER, in the homework, the...- angeliKITTYx
- Post #6
- Forum: Engineering and Comp Sci Homework Help
-
A
Write PEP8 Code: Display Full Name & Major
Thanks! But I'm having a hard time understanding the "0x0000, 0x0010, etc" stuff after the commands (CHARO, STRO, ADDA, etc) What is that? I'm understanding it as the location in the memory, but I'm just completely lost!- angeliKITTYx
- Post #3
- Forum: Engineering and Comp Sci Homework Help
-
A
Write PEP8 Code: Display Full Name & Major
Homework Statement You are to write a program that will display your full name and your major (First Name, Middle name and Last Name) on the Terminal Input/output (I/O) screen.[/B] Homework EquationsThe Attempt at a Solution I was trying to get the screen to say "What's your first name?"...- angeliKITTYx
- Thread
- Assembly language Code Writing
- Replies: 7
- Forum: Engineering and Comp Sci Homework Help
-
A
Write a Pseudocode for the following instructions:
Pseudocode... that's all the question says.- angeliKITTYx
- Post #8
- Forum: Engineering and Comp Sci Homework Help
-
A
Write a Pseudocode for the following instructions:
Fact = 1 for i = 1 to N Fact = Fact * i Okay so for this last line, is it repeating itself because i is a range?And the second one... For i = 1 to 200 Does lowercase i mean something? Like For and While (etc) do? I don't see i anywhere else in the second one other than that line...- angeliKITTYx
- Post #5
- Forum: Engineering and Comp Sci Homework Help
-
A
Write a Pseudocode for the following instructions:
Okay, well I can fix the "dice" to "die," but I just don't understand the language to use... would I just say this: ? Set roll to 1 While roll =< 200 Generate integer (1,6) Read result Set roll to roll + 1- angeliKITTYx
- Post #4
- Forum: Engineering and Comp Sci Homework Help
-
A
Write a Pseudocode for the following instructions:
Homework Statement - Calculating the factorial of a number N - For simulating the roll of a die 200 times (include the calculation for the relative frequency of the number 4 in the upface of the die within the 200 rolls) Homework Equations None? The Attempt at a Solution I am taking this...- angeliKITTYx
- Thread
- Code Computer Language
- Replies: 10
- Forum: Engineering and Comp Sci Homework Help