Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
registers
- Page 1
Re: registers and stacks in assembly codes
Programming
Software Development
13 Years Ago
by thines01
[
Registers
] [url]http://www.osdata.com/topic/language/asm/register.htm[/url] ...and believe it or not, there is a good explanation on this page of the stack: [url]http://www.vtc.com/products/AssemblyLanguageProgramming/AssemblyLanguageBasics/82691[/url]
registers
Programming
Software Development
14 Years Ago
by arshi9464
…, i know a lot of things about
registers
. but my problem is: a register is able to store … it store just 1 operand or more. Same about other
registers
. PLEASE HELP........
Re: registers
Programming
Software Development
14 Years Ago
by Ancient Dragon
The maximum value of register ax (and other similar 16-bit
registers
) is 255. Any register can be treated as either signed or unsigned. So 255 is the maximum of unsigned while 126 is the maximum signed.
Registers
do not contain instructions -- only data. mov, jmp, cmp, etc are instructions.
Re: Registers problem
Programming
Software Development
16 Years Ago
by Duoas
…, like additions and comparisons. Individual "
registers
" often have special functionalities attached to them…returning. In order to keep order, certain
registers
have the special capabilities of referencing the beginning…and indices into the stack. Instruction pointer
registers
likewise have the special purpose of indexing where…
Registers problem
Programming
Software Development
16 Years Ago
by Eriodor
… were a little bit complicated and with difficult english. Related
registers
: Segment Index Stack thanks for your help
registers and stacks in assembly codes
Programming
Software Development
13 Years Ago
by Donald Njila
Hey guys could you please differentiate for me when to use stacks and when to use
registers
in assembly codes.Please a code fragment will do much good too. Thanks in advance.
Re: registers and stacks in assembly codes
Programming
Software Development
13 Years Ago
by GunnerInc
… you think the stack is for? What do you think
registers
are for? Once you can answer both of those questions…
registers as function arguments in C
Programming
Software Development
11 Years Ago
by hg_fs2002
… would like to know how is it possible to pass
registers
as function arguments in C. Let's say I have…
Re: registers as function arguments in C
Programming
Software Development
11 Years Ago
by Unimportant
int add( int * a, int * b ) { return *a + *b; } register int * a( & var1 ), * b( & var 2); int c( add( a, b ) ); Considering you didn't define a type, I suggest you avoid using
registers
for the time being.
Re: registers as function arguments in C
Programming
Software Development
11 Years Ago
by Unimportant
… returns an integer. I declared two pointers to integer as
registers
, and instantiated them with the address of two arbitrary integers…
Re: registers
Programming
Software Development
14 Years Ago
by nezachem
Typo correction: a 16-bit register may contain data in the range of 0..65535; 255 is a maximal value of an 8-bit register.
Re: 3 little questions about registers and assembly
Programming
Software Development
12 Years Ago
by mathematician
… also different. 64 bit processors have all the 32 bit
registers
, but extended to 64 bits. For instance, the 32 … 64 bit processors there are also eight new 64 bit
registers
which have no 32 bit counterparts. *"To emulate … the rax, rbx, rcx, rdx, rsi, rdi, rbp and rsp
registers
when 64 bit processors were introduced. But also introduced with…
how many registers can i use in intel i7
Programming
Software Development
15 Years Ago
by nuliknol
… but what others can I use? Can I use stack
registers
? Thanks in advance. I attach my application code if needed…0xA0[edi]\n\t" // store some in extended 64bit
registers
"movq r9,0xA0[esi]\n\t" "… "movq r15,0xB8[esi]\n\t" // all available
registers
were data can be stored were filled, proceed with calcs…
Efficiently using registers
Programming
Software Development
11 Years Ago
by pspwxp fan
… your opinion on: given that one has only so many
registers
to work with on Assembly level, how does one use… too many variables to keep track off, and too few
registers
to work with. So what is best strategy for utilizing… would be even tricker, given that a lot of the
registers
have to be used as parameters for Interrupt functions. Please…
Files, Bit Operations, Registers help!
Programming
Software Development
16 Years Ago
by ternor
…txt file. Ill try to translate it: Students.dat containing:
Registers
-> Name of Student (char[50]) Last Name of student…char[30]) Students Postal Code (unsigned int) Courses.dat containing:
Registers
-> Course code number (unsigned short) Course name (char[50…
Re: Efficiently using registers
Programming
Software Development
11 Years Ago
by Schol-R-LEA
… easier in general, simply because of the number of general
registers
(32, though some are reserved for the assembler and the… kernel). With only 12 general
registers
even in long mode (rax, rbx, rcx, rdx, and r8…
DumpRegs and the EBX/ECX registers
Programming
Software Development
14 Years Ago
by GWalk612
…After the subtractions I want to view the
registers
' final values by using DumpRegs. The information … This program subtracts 3 integers using only 16 bit
registers
. INCLUDE Irvine32.inc .code main PROC mov ax,… from cx, cx = 1000h call DumpRegs ;display
registers
exit ;halt program main ENDP ;end procedure END …
Re: 3 little questions about registers and assembly
Programming
Software Development
12 Years Ago
by silvercats
thanks. very good answer. are you telling that,in 64bit
registers
are just extended 32bit registered and there no separate 64bit regsiters? there are 8 32bit
registers
. when it comes to 64 bit, still there are only 8
registers
but extended to 64bits? or are there physically extra more resigers for 64bit
registers
?
Re: Assembly registers 16, 32, and 64bit
Programming
Software Development
15 Years Ago
by gerard4143
… a speed difference between 16, 32, and 64bit
registers
.[/QUOTE] Not sure what you mean by faster...…plus the CPU has twice as many general
registers
so a 64 bit CPU(Inte/AMD) has…working with the smaller 16 and 32 bit
registers
? This I'm not sure of but I… do know if you opt for the smaller
registers
the result program will be smaller hence more …
Re: 3 little questions about registers and assembly
Programming
Software Development
12 Years Ago
by mathematician
Except for the r8 thru r15
registers
which are new and physically distinct in the 64 bit processors, all the other 64 bit
registers
are extended versions of the 32 bit
registers
. Loading something into the 32 bit eax register has the same effect as loading it into the bottom 32 bits of the 64 bit rax register.
Re: IS that true, registers we use in programming do not exist really
Programming
Software Development
12 Years Ago
by deceptikon
> I know it is just text. but
registers
are not text. You asked about cx, bx, etc. Those are assembly language representations of the different
registers
. So yes, they *are* text. ;) It should also be fairly obvious that I'm just messing with you. And yes, physical
registers
are real memory locations burned into the CPU.
MIPS floating point registers
Programming
Software Development
17 Years Ago
by youmak
… not use print_double because this syscall uses the floating point
registers
$f12 and $f13 and i do not now how to… move the content between CPU
registers
and FPU register. move and logical operators do not work…
Displaying contents of registers..?
Programming
Software Development
15 Years Ago
by Ronen444
… do is to display the contents of various 16-bit
registers
(e.g. AX, BX, CX, DX), however without success; Well… do so. In short - How can I convert number from
registers
such as AX or DX into strings, so I can…
Offset registers
Programming
Software Development
15 Years Ago
by darknoobie
… science. SO far i know that the segment
registers
work along with the offset
registers
like this segment_register:Offset_register. Not sure if…
Re: Offset registers
Programming
Software Development
15 Years Ago
by gusano79
… trouble understanding offsets in computer science.[/QUOTE] Segment and offset
registers
are used to represent memory addresses that are larger than… your register size. Two
registers
are combined to create an address that you couldn't…
Read registers from PLC and check bits
Programming
Software Development
13 Years Ago
by Roobin
Hi! Im Im trying to read a some 32-bit
registers
from a PLC and check if a bit is set. … value in a list. The program should read through these
registers
continuously and always check the bits. Can someone show me…
3 little questions about registers and assembly
Programming
Software Development
12 Years Ago
by silvercats
(1)Are DOS and Windows assembly different? (2)How many
registers
do both 32bit and a 64 bit processors have speparetl? … support those old 16 and 32 bit versions? like,have
registers
of that bit versions? if you can't answer all…
IS that true, registers we use in programming do not exist really
Programming
Software Development
12 Years Ago
by silvercats
....do not exist really,they are just the
registers
in the Programming architectutre and there are more processors on a CPU physically. those cx,ax etc... are there to simplify programming as there are a lot of other real
registers
in the processor???? I thought those places were real!
Re: IS that true, registers we use in programming do not exist really
Programming
Software Development
12 Years Ago
by silvercats
I know it is just text. but
registers
are not text. they actually live in processor as a memory isn't it.is it true about the
registers
thing? no cx,bx etc..... rgisters?
Re: Displaying contents of registers..?
Programming
Software Development
15 Years Ago
by NotNull
… world$' [/code] To print out the value contained in the
registers
you will have to convert their value into the ASCII…
1
2
3
17
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