assembly-language tag

7 questions


2 answers
344 views
0
Please tell me the assembly language program.If possible, I would like you to make a program.

Using the code below as reference, what program calculates A×B×C×D+E×F×G with 7 numbers as A:1, B:2, C:10, D:8, E:10, F:5, G:6?The result is 460.Program to calculate AxB+CxDSAMPLE START LD GR0, A LD G...

2 years ago

1 answers
107 views
0
What is the operand size and address size? What is the point of preparing a 16-bit operation? What is the relationship between memory size limits and address size?

Which is faster, 32-bit integer or 64-bit integer on x64? pageIn Sayuri's reply, Egtra said The x86/x86-64 32-bit mode also requires one byte more 16-bit operations than 32-bit instructions (operand-s...

2 years ago

3 answers
97 views
0
About the addressing method.

About the addressing method.Direct Addressing MethodINDEX ADDRESSING SYSTEMBase addressing methodRelative Addressing MethodIndirect Addressing MethodRegister Addressing MethodImmediate Addressing Meth...


1 answers
100 views
0
Assembly stops at segmentation fault

Posted a question that terminates the program on the assemblyI am writing a program to calculate the bmi (Body Mass Index) in the assembly for practice, but I put out a segmentation fault in the middl...

2 years ago

1 answers
96 views
0
Understanding the Operand Type in GNU Assembly

operand type mismatch for 'field' error occurs when field%ebx is indicated in GNU Assembly.long(fieldl) also causes errors.What is the operand type of field (long)?Environment: Run as 32-bit with -m32...

2 years ago

1 answers
101 views
0
How Do I Run the Assembly in OS X 10.11

How do I run the assembly on OS X 10.11?GCC seems to be able to assemble normally (gcc-o hello world hello world.s).What should I do with clang?AddI understood that there was a command in OS X called ...

2 years ago

1 answers
77 views
0
The BIOS program can operate floppy disks such as INT0x13, but is there anything to read and write USB data?

The BIOS program can operate floppy disks such as INT0x13, but is there anything to read and write USB data?

2 years ago

© 2024 OneMinuteCode. All rights reserved.