FAQ Database Discussion Community


Using all ports of MSP430 as one big port - is it possible?

embedded,msp430,memory-mapping
It will be more convenient for me to use all the MSP430 ports as one port. I was thinking maybe to overflow the registers until the next memory address, but it's not working (or maybe i'm not doing it right). To access BIT0 of PORT2, I tried Something like that:...

Why is this line of assembly an 'invalid use of register'?

assembly,x86,memory-mapping
I am going through some OS development tutorials and I constantly see the following section of code: .intel_syntax noprefix do_e820: xor ebx, ebx # ebx must be 0 to start xor bp, bp # keep an entry count in bp mov edx, 0x0534D4150 # Place "SMAP" into edx mov eax,...

How to store data in and get data out of memory mapping files using CopyMemory in VBA?

vba,excel-vba,distributed-computing,memory-mapping
I am trying to build a distributive computing system that uses memory mapping files to coordinate work among several networked PCs all via VBA. Put another way, I want to get a group of networked computers to do work at the same time in a coordinated way on a single...

How to read bin file (FAT16 partition) from a Memory Mapped File in C?

c,windows,memory-mapped-files,memory-mapping
I have a very small FAT16 partition in a .bin file. I have mapped it into memory using: CreateFile, CreateFileMapping and MapViewOfFile. What I want to do is to read a specific byte of the file. For example I want to read offset from 0x36 to 0x3A to check if...

memory mapping files for high frequency trading?

ipc,mmap,quickfix,fix,memory-mapping
I am working in a high frequency trading client for stocks in C++. I am using the quickfix/J library to receive information from my broker. I need these two processes to communicate (one written in Java and the other in C++) and the latency has to be minimized as much...