LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Assembler Stuff: Asm and Inline Asm

Posted 01-25-2012 at 07:15 PM by rainbowsally

Assembler Stuff: Asm and Inline Asm

Features:
  • Asm and inline asm examples
  • Using C macros to create global function names
  • Intel and ATT syntax
  • Viewing disassembly in a *.s file and using objdump

Let's get right to the point...

Code:
// main.c
// COMPILE: gcc main.c -o main --save-temps
// take a look at the C asm output file, 'main.s' afterwar

// 64 bit asm keeps part of the stack in registers in C, so let's
//
...
Member
Posted in Uncategorized
Views 956 Comments 0 rainbowsally is offline
Old

update

Posted 01-25-2012 at 06:42 PM by XenaneX

I still use PCLinuxOS on one computer. Version 11.06 I believe it is called. It is very polished and I like it a lot. However, it is 32 bit and the lack of a 64 bit version caused me to go looking for another distro.

My other computer, the one I'm on now, has simply Mepis 64 bit on it and it runs nicely. There are some minor issues such as a volume slider that doesn't change the volume. I have to open the mixer and use the slider in it which works well enough. Also, M11, as...
Member
Posted in Uncategorized
Views 776 Comments 0 XenaneX is offline
Old

Holy Binary Blobs, Batman!

Posted 01-25-2012 at 02:58 PM by hydraMax (Bits and Pixels)

Just how many binary blobs are there in the kernel...!? I finally enabled "deblob" for my gentoo kernel sources, and it took the build five minutes to remove all the kernel blobs! Must have been hundreds of them. I think I saw my Ethernet driver scroll by... hopefully I have networking in my next boot. (*gulp*)
Member
Posted in Uncategorized
Views 530 Comments 0 hydraMax is offline
Old

Flattened rice AKA Poha (in Hindi)

Posted 01-25-2012 at 06:17 AM by TheIndependentAquarius
Updated 07-04-2014 at 01:31 AM by TheIndependentAquarius

Notice: Spoon measurement : 6mlIngredients:
  • 1 spoon small yellow Mustard seeds (Aka Sarson in Hindi)
  • 4 small Green chillies (Aka Hari mirch in Hindi) thinly chopped.
  • 1 and 1/2 spoon fresh Ginger (Aka Adrak in Hindi) finely grated.
  • 1/2 spoon Salt.
  • 2 medium Onions thinly chopped.
  • 1/4 spoon Turmeric powder (Aka Haldi in Hindi).
  • 4 cups Flattened rice.
  • Juice of half lemon.
  • Oil for frying.

Directions:
  • Wash the Flattened Rice. Keep it wide spread in a holed dish. Drain
...
Senior Member
Posted in Recipes
Views 9450 Comments 3 TheIndependentAquarius is offline
Old

New Printer: Brother HL-2270DW

Posted 01-25-2012 at 03:39 AM by hydraMax (Bits and Pixels)

Finally broke down and bought my first printer, a Brother HL-2270DW. It has only been a few days, but I'm pretty happy with my purchase. It's everything I wanted: an inexpensive, Ethernet capable, Linux-compatible laser printer (I hate inkjet). It provides LPD/LPR service over the network, so you don't even have to download the proprietary drivers to use it: just use the CUPS Web interface to add an LPD printer (Generic PCL) and point it to the correct IP address.

If it is plugged...
Member
Posted in Uncategorized
Views 805 Comments 0 hydraMax is offline

  



All times are GMT -5. The time now is 12:06 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration