10 More Discussions You Might Find Interesting
1. Programming
As the title suggests, I want to better understand the following assembly code:
section .text
global main ; must be declared for linker (gcc)
main: ; tell linker entry point
mov edx, len ; message length
mov ecx, msg ; message to write... (2 Replies)
Discussion started by: Azrael
2 Replies
2. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I am having a hard time with this assignement i cant get the pfib value to print out the fib sequence.
... (1 Reply)
Discussion started by: kenjiro310
1 Replies
3. Programming
Im trying to make a vga program for linux Im wondering if anyone knows of a simple document on the subject or if someone could show me some basics. What system calls should I use what parameters should I give them. How do I draw a line of pixels green after in vga mode. I prefer nasm but I can use... (2 Replies)
Discussion started by: Errigour
2 Replies
4. What is on Your Mind?
Hi. I learned C in high school and am proficient in it:D. At the college while learning microcontrollers there was a short course on assembly language which I skipped:p but had no trouble as most of the application programming had to be done in C. Should I go back n learn assembly language as I... (9 Replies)
Discussion started by: priyadarshianu
9 Replies
5. Programming
Hi eneryone,
Im trying to learn about assemply 8085 in order to make a project i have.
First of all which emulator to use? I work in linux and I currently istalled GNUSim8085.
Also, maybe somewhere I can find some simple examples?
The project is about making an array saved in specific... (8 Replies)
Discussion started by: giampoul
8 Replies
6. Programming
I have this small program that runs with the flat assembler. My problem is that at the receive line function it receives the line and if there isn't a $ typed at the end of the user input the program displays a lot of strange stuff, sometimes beeps and then it seems to terminate without causing any... (13 Replies)
Discussion started by: Errigour
13 Replies
7. Programming
Hi guys,
Assembly language is a low level language designed in 1950's, both system and application programs were written in assembly at that time. There is no question of assembly being very effecient compared to the other high level languages. But it is very cumbersome to write programs in... (9 Replies)
Discussion started by: gabam
9 Replies
8. Programming
When i run this with gcc filename.s -o filename. It is giving fatal error: Unknown opcode at define registers.
Anyhelp will be appreciated
.section ".data"
prompt: .asciz "\nThis program prints the Fibonacci sequence"
prompt2: .asciz "\nEnter a limit on the largest number to be displayed:"... (2 Replies)
Discussion started by: Learnerabc
2 Replies
9. Programming
I want make simple assembly code for some thing like this a^6+6a^2+2a and range of a is between -3 to 3. I tried but it is not working properly. As this is my first assembly program that I am going to try, I want some help with it.
I found this example online but i dont want this kind of... (2 Replies)
Discussion started by: Learnerabc
2 Replies
10. Shell Programming and Scripting
Hey guys, well I'm extremely knew to Unix so any help advice is very appreciated.
What I am trying to do is assemble a source code (Programming from the Ground Up: Chapter 3: Your First Programs)
The source code named "FINDING A MAXIMUM VALUE" is the code I am trying to link and run, but I... (1 Reply)
Discussion started by: ac09
1 Replies
Bio::Assembly::IO(3pm) User Contributed Perl Documentation Bio::Assembly::IO(3pm)
NAME
Bio::Assembly::IO - Handler for Assembly::IO Formats
SYNOPSIS
use Bio::Assembly::IO;
$in = Bio::Assembly::IO->new(-file=>"<inputfilename",
-format=>'phrap');
$out = Bio::Assembly::IO->new(-file=>">outputfilename",
-format=>'phrap');
while ( my $scaffold = $in->next_assembly() ) {
# do something with Bio::Assembly::Scaffold instance
# ...
$out->write_assembly(-scaffold => $scaffold);
}
$in->close;
$out->close;
DESCRIPTION
Bio::Assembly::IO is a handler module for formats in the Assembly::IO set (e.g. Bio::Assembly::IO::phrap).
FEEDBACK
Mailing Lists
User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to the
Bioperl mailing lists Your participation is much appreciated.
bioperl-l@bioperl.org - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
Support
Please direct usage questions or support issues to the mailing list:
bioperl-l@bioperl.org
rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address
it. Please include a thorough description of the problem with code and data examples if at all possible.
Reporting Bugs
Report bugs to the Bioperl bug tracking system to help us keep track the bugs and their resolution. Bug reports can be submitted via the
web:
https://redmine.open-bio.org/projects/bioperl/
AUTHOR
Robson Francisco de Souza
E-mail: rfsouza@citri.iq.usp.br
CONTRIBUTORS
#
APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
new
Title : new
Usage : $stream = Bio::Assembly::IO->new( -file => $filename,
-format =>'format' )
Function: Returns a new assembly stream
Returns : A Bio::Assembly::IO::Handler initialised
with the appropriate format
Args : -file => $filename
-format => format
next_assembly
Title : next_assembly
Usage : $scaffold = $stream->next_assembly()
Function: Reads the next assembly object from the stream and returns it.
Returns : a Bio::Assembly::ScaffoldI compliant object
Args : none
next_contig
Title : next_contig
Usage : $contig = $stream->next_contig()
Function: Reads the next contig or singlet from the stream and returns it.
Returns : a Bio::Assembly::Contig or Bio::Contig::Assembly::Singlet
Args : none
write_assembly
Title : write_assembly
Usage : $stream->write_assembly($assembly)
Function: Write the assembly object in desired format. This method calls
write_header(), write_contigs() and write_footer() internally.
Returns : 1 on success, 0 for error
Args : A Bio::Assembly::Scaffold object
write_header
Title : write_header
Usage : $stream->write_header($assembly)
Function: Write the start of the assembly file. It can be called at any time,
not when starting to write the assembly file.
Returns : 1 on success, 0 for error
Args : A Bio::Assembly::Scaffold object or ... (check the specific format
driver for more details)
write_contig
Title : write_contig
Usage : $stream->write_contig($contig)
Function: Write a contig object in the desired format.
Returns : 1 on success, 0 for error
Args : A Bio::Assembly::Contig object
write_footer
Title : write_footer
Usage : $stream->write_footer($assembly)
Function: Write the start of the assembly file.
Returns : 1 on success, 0 for error
Args : A Bio::Assembly::Scaffold object or ... (check the specific format
driver for more details)
_load_format_module
Title : _load_format_module
Usage : *INTERNAL Assembly::IO stuff*
Function: Loads up (like use) a module at run time on demand
Example :
Returns :
Args :
_guess_format
Title : _guess_format
Usage : $obj->_guess_format($filename)
Function: guess format based on file suffix
Example :
Returns : guessed format of filename (lower case)
Args :
Notes : formats that _filehandle() will guess includes
ace, phrap and tigr at the moment
_sort
Title : _sort
Usage : @sorted_values = $ass_io->_sort(@values)
Function: Sort a list of values naturally if Sort::Naturally is installed
(nicer), lexically otherwise (not as nice, but safe)
Returns : array of sorted values
Args : array of values to sort
perl v5.14.2 2012-03-02 Bio::Assembly::IO(3pm)