php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cs402 GDB fall 2010 on 31 jan 2011
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#2
First of all, high-level languages cannot enhance assembly since that is able to express everything the CPU can do. Basically, what a compiler generally does is to generate assembly or machine code (which has a 1:1 mapping to assembly language). The advantage of high-level languages can be simplicity, maintainability and portability.

It is possible to combine assembly with other languages if said languages support this. What you need to do is to assemble and compile the source files separately and then link the resulting object files (not executables!) with a linker. To support this, most assemblers/compilers have directives like to indicate whether a symbol is external or to be exported.

Furthermore, some languages support inline assembly (i.e., embedding assembly code directly in the source). For instance, the optional "asm" keyword in C and C++ indicates that a piece of code is to be assembled. The syntax and usage of this keyword varies from compiler to compiler so you need to check the documentation or at least look for examples.
Reply


Messages In This Thread
cs402 GDB fall 2010 on 31 jan 2011 - by Xpert - 01-25-2011, 04:35 PM
cs402 GDB fall 2010 on 31 jan 2011 - by Xpert - 01-31-2011, 05:51 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  MGT501 Human Resource Management GDB No.1 Discussions and Solutions Fall 2014 Vuhelper 0 3,554 12-04-2014, 09:07 PM
Last Post: Vuhelper
  MGT211 Introduction To Business GDB No 1 Solution Ideas Fall 2014 Vuhelper 0 1,723 12-04-2014, 03:20 PM
Last Post: Vuhelper
  FIN711 Advanced Financial Accounting GDB No. 01 Fall 2014 Last Date 8th December Vuhelper 0 2,123 12-03-2014, 09:15 PM
Last Post: Vuhelper
  MGT703 Strategic Management GDB No.1 Fall 2014 Solutions Ideas Vuhelper 0 1,894 12-03-2014, 08:45 PM
Last Post: Vuhelper
  MGT201 Financial Management GDB No. 01 Solution Fall 2014 Last date is 4th Dec 2014 Vuhelper 0 2,515 12-03-2014, 03:58 PM
Last Post: Vuhelper
  MGT520 International Business GDB No. 01 Solution and Discussion Fall 2014 viki 0 2,632 12-03-2014, 03:03 PM
Last Post: viki
  GDB No 1 MGT301 Principles of Marketing Solution and Discussion December Fall 2014 viki 0 2,551 12-03-2014, 02:45 PM
Last Post: viki
  MGT602 Entrepreneurship GDB No 1 Discussion and Solution Fall 2014 Vuhelper 0 2,519 12-02-2014, 10:36 PM
Last Post: Vuhelper
  MGT713 Production / Operations Management GDB No. 1 Solutions Fall 2014 vuassignments 0 2,461 11-26-2014, 02:57 PM
Last Post: vuassignments
  MKT711 Marketing Research GDB No. 1 Solutions Fall 2014 Entboy 0 1,398 11-25-2014, 09:04 PM
Last Post: Entboy

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support