• Log In
  • My Account
    • Account Settings
    • Log Out
  • Disney.com
  • Disney+
    • Home
    • On Disney+
    • Explore Disney+
    • The Disney Bundle
  • Parks & Travel
    • Home
    • Walt Disney World
    • Walt Disney World
    • Disneyland
    • Disney Cruise Line
    • Aulani
    • All Parks & Travel
  • Movies
    • Home
    • All Movies
    • Movies Anywhere
    • 20th Century Studios
  • Shop
    • Sale
    • Clothes
    • Accessories
    • Toys
    • Shop All
  • Disney News
  • D23
  • Live Shows
    • Home
    • Disney on Broadway
    • Disney on Ice
    • Disney Live!
  • Music
  • Disney Disney.com
  • Disney+
    • On Disney+
    • Explore Disney+
    • The Disney Bundle
  • Parks & Travel
    • Walt Disney World Resort
    • Disneyland Resort
    • Disney Cruise Line
    • Aulani - A Disney Resort and Spa
    • Adventures by Disney
    • Disney Vacation Club
  • Movies
    • All Movies
    • Movies Anywhere
    • 20th Century Studios
  • Shop
    • Sale
    • Clothes
    • Accessories
    • Toys
    • Shop All
  • More
    • Disney News
    • D23: The Official Disney Fan Club
    • Live Shows
    • Music
  • Log In
  • My Account
    • Account Settings
    • Log Out
Disney
Cancel

X86 Lds -

Eleanor muttered, “Oh, you ancient beast.”

The offending line looked innocent:

She wrote a small C helper using memcpy to safely read the 32-bit value into a local unsigned long , then manually set DS and BX via __asm —but with interrupts disabled via _disable() . Clunky, but safe. x86 lds

A decade later, she’d tell interns: “ LDS loads a pointer and destroys your data segment. Respect it. Then avoid it.”

She couldn’t just remove the LDS . The entire linked list traversal depended on far pointers. But she could replace it. Eleanor muttered, “Oh, you ancient beast

The disassembly pointed to one instruction: LDS .

In the spring of 1992, Eleanor, a young and slightly reckless systems programmer, found herself hunched over a beige 386 DX/40. The machine groaned under MS-DOS 5.0, and in front of her was a nightmare: a core dump from a geological modeling program she’d inherited. Respect it

“It poisoned its own segment register,” Eleanor whispered. “Like a snake biting its tail.”

© 2026 Green Matrix. All rights reserved.

  • About Disney
  • Disney Help
  • Careers
  • Contact Us
  • Advertise With Us
  • Disney® Premier Visa® Card
  • Terms of Use
  • Additional Content Information
  • Privacy Policy
  • Your US State Privacy Rights
  • Children's Online Privacy Policy
  • Do Not Sell Or Share My Personal Information
  • Interest-Based Ads
© 2025 Disney and its related entities