Re: registers and stacks in assembly codes Programming Software Development 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] Re: Escaping % in printf Programming Software Development by nullptr > registers(d) returns a char* so it returned %ebp It could well be as Tumlee suggested. If registers(d) is already returning %ebp, then you only need printf("%s", registers(d)) Re: Registry Cleaners and Optimisers Hardware and Software Microsoft Windows by sergent REgisters cleaners are useless, and anyone who tells you to use one, should quit programming, and become a garbageman or something! Registers do not slow down your computer, it is a lie. You should not use it! Re: Faulty observation Programming Software Development by eniwe Registers: (A) After loading. (B) After the CALL (C) After the … Re: What is the size of a processor register? Programming Software Development by NotNull Registers are typically a multiple of a byte in length, a byte usually being the smallest container and addressable data item. Thus, all data item's lengths can be expressed in a number of requisite bytes. A 32-bit register consists of 4 bytes for instance, on a machine with an 8-bit byte. registers Programming Software Development 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 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 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 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 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 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 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 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 by Unimportant … returns an integer. I declared two pointers to integer as registers, and instantiated them with the address of two arbitrary integers… Re: 3 little questions about registers and assembly Programming Software Development 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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…