Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 767 results for
pep8
- Page 1
Pep
Programming
Software Development
15 Years Ago
by G_buchCSC
This is my first time looking at anything in Pep 8 machine language and i was wondering if someone could help me understand how to do these problems . I am supposed to find the output for each program. I know the answer for the first one but I don't know how to get that answer and on the second one i am completely lost. I've seen 91 is Bitwise …
Re: Pep
Programming
Software Development
15 Years Ago
by G_buchCSC
this is the format in which they gave me the question: The question goes like this: Determine the output of the following Pep/8 machine language program and says that the left column is the memory address of the first byte on the line
Pep/8 Tutorial
Programming
Software Development
14 Years Ago
by garu525
I'm starting to learn the Pep/8 simulator. Do you know where i can find some tutorials? Thanks.
Re: Pep/8 Tutorial
Programming
Software Development
14 Years Ago
by garu525
Wow thanks so much. Yeah I looked Google first before posting and actually I've been using the Computer System book J. Stanley Warford who actually programmed Pep/8. Thans, this book is clearer than Warford wrote.
pep/8 simulator
Programming
Computer Science
14 Years Ago
by schultzdonald
I'm a computer science major and we are using the pep/8 simulator. I want to know if there is anyone that can help me to understand how this works, I mean, I have an idea but my teacher is asking questions on an assignment that I really don't know what she means or is asking for. Help me please!
PEP 8 installtion with python 3.2
Programming
Software Development
14 Years Ago
by e-papa
Guys I've been reading on PEP 8 and I see that one should use it especially to make sure that programs are standard. Please can anybody help as to how i can install it with my python 3.2 and how to use. Thanks in advance.
Pep/8 Help!
Programming
Software Development
13 Years Ago
by thigby
I'm totally lost when it comes to using pep/8... Here's what I need to do, can anyone help? 1. Store the decimal value 25 in memory, beginning at location 0x20, then 2. Store the decimal value 100 in memory, beginning at location 0x22, then 3. Add the two numbers that are stored at those locations together, and store the result, beginning at …
Pep/8 Menu Input Program Issue
Programming
Software Development
12 Years Ago
by StNtMaN
Create a simple calculator that has the following menu: A – ADD S – SUB N – NEG Q – Quit Input option: A Input number: 11 Ans = 11 Input option: S Input number: 5 Ans = 6 Input option: N Ans = -6 Input option: A Input number: 10 Ans = 4 Input option: Q Have the program print the menu once and have your answer set to zero (can't trust it). …
Pep/8 Input Count Flip Program Issue
Programming
Software Development
12 Years Ago
by StNtMaN
Create a program that will input a sentence and push each character onto the stack all the while counting the number of characters. Then pop off each character and print them backwards (natural with a stack) and print the length. Like so: **I like burgers!** **!sregrub ekil I** ***The number of characters is 15*** Note, don't count the '\n' …
PEP/8 Assembly How to change numbers to roman numericals
Programming
Software Development
3 Years Ago
by Quest123
Just started learning PEP/8 what would the correct way to convert numbers into roman numericals? for exemple How can input let say 6 and have it come out as VI in the output? I know what i did is far from being the correct way to do things as i only print out the roman letters when input specific numbers. BR main …
Re: Pep
Programming
Software Development
15 Years Ago
by wildgoose
Why are you showing us the binary output. Please show the source code used to generate that binary output or atleast the list file that contains both binary and the source assembly!
Re: Pep
Programming
Software Development
15 Years Ago
by wildgoose
That part was obvious. I'm not familiar with
PEP8
but am with many other processors. Use your table lookup and convert the binary back into pseudo source code to make it readable!
Re: Pep
Programming
Software Development
15 Years Ago
by wildgoose
PEP8
doccumentation is NIL!!! ; 1100 raaa Load register r from memory …
C++ program to Pep/assembly language
Programming
Software Development
17 Years Ago
by buddy1
I'm having some trouble translating the following C++ program to Pep/8 assembly language. Can anyone help me solve this. This is what I have come up with. [code=cplusplus] #include <iostream> using namespace std; int list[16]; int i, numItems; int temp; int main() { cin >> numItems; for (i = 0; i < numItems; i++) { cin >&…
URGENT!!! PEP/8 question
Programming
Software Development
14 Years Ago
by bigwhiteegg
PLEASE somebody help me I have QUESTIONS about pep/8 and 4 hours left to figure it out 1. in C++, global variable CHAR word[32] = "Backward"; is common but how do i initialize it in pep/8 ?? I need to write a simple program to flip it backward using stack pointers and the char array need to be initialized before the main() 2…
Re: C++ program to Pep/assembly language
Programming
Software Development
17 Years Ago
by Narue
I can't claim to know Pep/8 assembly, but it looks like you're not indexing the array properly.
Re: C++ program to Pep/assembly language
Programming
Software Development
16 Years Ago
by Laundry
Did you ever get this working? I'm curious what your final Pep/8 assembly looks like.
Re: C++ program to Pep/assembly language
Programming
Software Development
15 Years Ago
by mjmakl
[QUOTE=Laundry;758964]Did you ever get this working? I'm curious what your final Pep/8 assembly looks like.[/QUOTE] Did anyone get this working in
PEP8
?
need help on pep/8 machine language program
Programming
Software Development
18 Years Ago
by jack223
sorry, i don't know which forum i should post this question. Q) a machine language program to input 2 numbers then adds 2 numbers then output the single-character result. this is what i got so far but it doesn't work..any help plz~~ [code] 0000 4900FE ;Get input from the user and store it @ 00FE 0003 4900FF ;Get input from the user and …
C++ to Pep/8 Conversion
Programming
Software Development
12 Years Ago
by StNtMaN
**C++ Code:** #include <iostream> using namespace std; int sum(int n) { if (n <= 0) return 0; else return n + sum(n-1); } int main() { cout << "Range num? "; int num; cin >> …
Re: Pep/8 Tutorial
Programming
Software Development
14 Years Ago
by Schol-R-LEA
…?id=O3pHJF13Y8sC&pg=PA166&lpg=PA166&dq=
pep8
+assembly+language&source=bl&ots=-TtnfeMzHe&sig…
Re: PEP 8 installtion with python 3.2
Programming
Software Development
14 Years Ago
by vegaseat
Go to: [url]http://pypi.python.org/pypi/
pep8
/0.4#downloads[/url] download:
pep8
-0.4.tar.gz extract contents into a temp folder using WinRAR.exe or alike find file
pep8
.py and copy it to a folder with your code Take a look at
pep8
.py with an editor, it has all the help built-in
Re: PEP 8 installtion with python 3.2
Programming
Software Development
14 Years Ago
by e-papa
Wow thanks so much, will try that out and let you know.
Re: PEP 8 installtion with python 3.2
Programming
Software Development
14 Years Ago
by TrustyTony
… can run easy_install: [CODE]C:\Python32>Scripts\easy_install.exe
pep8
Creating c:\python32\lib\site-packages\site.py Searching for….6.1-py3.2.egg Processing dependencies for
pep8
Finished processing dependencies for
pep8
[/CODE] This new easy_install has command line switch…
Re: PEP 8 installtion with python 3.2
Programming
Software Development
14 Years Ago
by e-papa
I have already downloaded the distribute package, i guess i have been seeing easy_install and don't know what it means. But now that i have both packages is there not a way i can install without having to be connected. Please bail me out.
Re: PEP 8 installtion with python 3.2
Programming
Software Development
14 Years Ago
by e-papa
Okay I'm getting something, are you saying after unpacking the
PEP8
all i have to do is to put it in the directory the program I'm working on. And then [CODE]import
pep8
[/CODE]or [CODE]from
pep8
import*[/CODE] in the program i'm writing then i can call methods from it.
Re: PEP 8 installtion with python 3.2
Programming
Software Development
14 Years Ago
by e-papa
I am so sorry i can't confirm now, the system i'm using right now does not have any archiver i can use to unpack, so i'll have to wait till i get home. But you can still explain then i'll try it out and let you know.
Re: PEP 8 installtion with python 3.2
Programming
Software Development
14 Years Ago
by TrustyTony
No you must enter the command line (CMD in windows, xterm etc. in Linux), cd to your source code directory containing also
pep8
.py, then you must run the script from there: [CODE]K:\test3>c:\python32\python
pep8
.py --show-
pep8
--show-source my_program.py [/CODE]
Re: PEP 8 installtion with python 3.2
Programming
Software Development
14 Years Ago
by e-papa
Okay it has to be done from the command line i think i get that. Are you saying now that once i've unpacked it i should just place in CWD and run the cmd(windows)n to the dir and then do whatever i want to with it.
Re: PEP 8 installtion with python 3.2
Programming
Software Development
14 Years Ago
by e-papa
Thanks tonyjv, I've been able to get the
pep8
to work, thanks so much. you've solved this thread.
1
2
3
13
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC