Assembly – File Management, The system considers any input or output data as stream of bytes. There are three standard file streams −…Read More
Assembly – Memory Management, The sys_brk() system call is provided by the kernel, to allocate memory without the need of moving it later. This call allocates memory right behind the applica…Read More
Assembly – Procedures, Procedures or subroutines are very important in assembly language, as the assembly language programs tend to be large in size. Procedures are identified by a na…Read More
Assembly – Recursion, A recursive procedure is one that calls itself. There are two kind of recursion: direct and indirect. In direct recursion, the procedure calls itself and in ind…Read More
Assembly – Macros, Writing a macro is another way of ensuring modular programming in assembly language.…Read More
Assembly – Numbers, Numerical data is generally represented in binary system. Arithmetic instructions operate on binary data. When numbers are displayed on screen or entered from k…Read More
Assembly – Strings, We have already used variable length strings in our previous examples. The variable length strings can have as many characters as required. Generally, we specif…Read More
Assembly – Arrays, We have already discussed that the data definition directives to the assembler are used for allocating storage for variables. The variable could also be initial…Read More
Assembly – Logical Instructions, The processor instruction set provides the instructions AND, OR, XOR, TEST, and NOT Boolean logic, which tests, sets, and clears the bits according to the need …Read More
Assembly – Conditions, Conditional execution in assembly language is accomplished by several looping and branching instructions. These instructions can change the flow of control in a…Read More