As the title suggests, I want to better understand the following assembly code:
As you can see I already have descriptions in the comments from the tutorial I found here. Here are some of the things I don't understand:
1. - What is s2? Is this just a variable or a register I know nothing about?
2. When '1' is moved into ebx, is this a parameter to the sys_exit later called in eax? I found a listing of Linux syscalls here and it does seem sys_exit does take one parameter in ebx that's an integer. If this is the case why not exit cleanly with zero?
I just want to make sure I understand everything correctly in this. Thanks in advance!
Hello All,
I would like to know and understand the difference between the below 3 IF loops and also if possible what are the different other parameters i could use other than those mentioed in the below lF LOOP conditions, appreciate your help.
Thanks,
Sam. (1 Reply)
hello all,
May i know what is this "DEBUG_ME $DEBUG_CMD main" doing in the below code. I am confused with alias also "alias DEBUG_ME='#'". Thanks for your help.
set -x
alias DEBUG_ME='#'
if ; then
. /product/apps/informatica/v7/pc/ExtProc/debug.ksh "$1"
fi
# Declaring the... (1 Reply)
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)
Well, I found myself trying to fix some Perl code (Ive never done any Perl in my life) and I pinpointed the place where the bug could be. But to be sure I have to know what does a few line of code mean:
$files_lim =~ (/^\d*$/)
$files_lim =~ (/^\d*h$/)$files_age =~ s/h//The code where this was... (0 Replies)
Well, I found myself trying to fix some Perl code (Ive never done any Perl in my life) and I pinpointed the place where the bug could be. But to be sure I have to know what does a few line of code mean:
$files_lim =~ (/^\d*$/)
$files_lim =~ (/^\d*h$/)
$files_age =~ s/h//
The code where... (2 Replies)
What is the difference between the two statements below?
A:
$a->{"$fruit"}->{"$color"}->{size} = $size
B:
$size = $a->{"$fruit"}->{"$color"}->{size}
Please assist. Thanks! (0 Replies)
Hi everybody
I'm working on a list of registers(flip-flops to be exact), now i need to extract some value from this list and use them as arguments to pass them to some assembly code
for example i have:
118 chain79 MASTER (FF-LE) FFFF 1975829 /TCK F FD1TQHVTT1 ... (1 Reply)
Hi,
I need to understand below perl code, can some one advise me.
perl -MDate::Parse -e'BEGIN{$main::now=time;$main::old=(time-60*30)}' -nE'if(/^(\w+\s+\d+\s+\d+:\d+:\d+)/) {$t=str2time $1; $t > $old && $t < $now && print}' (1 Reply)
Hi guys,
I am still learning awk and much apprecated to shed some light on the following: the questions asked is below!
{
total = i = 0
do {
++i
total += $i
} while ( total <= 100 )
print i, ":", total
}
File used:
cat test.do
45 25 60 20
10 105 50 40
33 5 9 67
108 3 5 4 (2 Replies)
Discussion started by: Apollo
2 Replies
LEARN ABOUT OSX
qc2movie
qc2movie(1) BSD General Commands Manual qc2movie(1)NAME
qc2movie -- Quartz Composer export tool
SYNOPSIS
qc2movie inCompositionPath|repositoryCompositionIdentifier outMoviePath width height duration [--parameterKey1 value1 ...]
DESCRIPTION
qc2movie is a tool that exports a Quartz Composer composition into a QuickTime movie by adding a track containing this composition. It is the
command line equivalent of exporting a composition for the Quartz Composer application to a QuickTime movie.
OPTIONS
inCompositionPath|repositoryCompositionIdentifier
specifies which composition you want to export. Ar inCompositionPath is the path to the composition. Ar reposito-
ryCompositionIdentifier is the identifier of a composition which lies in the Quartz Composer Repository.
outMoviePath specifies movie file path to which the composition will be exported to
width defines the width of the export movie
height defines the height of the export movie
duration defines the length of the export movie
[--parameterKey1 value1 ...]
passes composition specific parameters through the command line tool to the composition
EXAMPLES -To create a 10 second QuickTime movie containing a Quartz Composer track of the Particle System composition:
qc2movie "/Developer/Examples/Quartz Composer Compositions/Particle Systems/Particle System.qtz" ~/example.mov 640 480 10
-To merge two video tracks (30s each) together using an image transition protocol abiding composition (Swing for example) in the Quartz
Composer Repository (using its identifier: /swing):
qc2movie /swing ~/merged-example.mov 640 480 60 --inputMoviePath1 ~/firstVideo.mov --inputMoviePath2 ~/secondVideo.mov --duration 2
-To apply an image filter protocol abiding composition to the video track of a movie:
qc2movie /colorpencil ~/effect-example.mov 640 480 30 --input ~/Video.mov
SEE ALSO pcastaction(1)Mac OS July 9 2007 Mac OS