Comments (6)
Implementation available in branch proposal-37-STR.
from 16bitjs.
Hey - can you make pull requests from your repo to mine? Then I'll merge up 😄
from 16bitjs.
Sorry but I have 3 branches and I fail to find how to create a clean pull request for each (they are not including only one commit) and they appear to lead to a benign conflict.
from 16bitjs.
Hey, no problem. I think I can see what's going on here.
Your pull requests are always relative to my master branch since my repo is considered the 'upstream'. You need to get in sync with the master branch of my repository before you can push more features (otherwise there will be merge conflicts).
So for instance I can see that you're actually not creating feature branches, only commits in your master branch. When you make a pull request, that request is based on a particular branch. The idea here is that you have an up to date master branch, and you branch off from that with each feature. That feature should only contain a single change (proposal #36) for instance. Then when you come to implement the next feature, you checkout master again, and create yet another feature branch. Each branch gets it's own pull request. I hope that makes sense, also as to why it's worth doing things this way.
To get concrete, on your fork, you should first git pull upstream master
. That will get the latest changes. After that you can git checkout -b feature/proposal-xyz
. There you can make your changes for that proposal, and then git push origin feature/proposal-xyz
. If you the 16bitjs github page after that, you'll see a button that says something like "you just push, create pull request".
from 16bitjs.
Seriously, I think those 3 issues should have been in one issue because they have some inter-dependency in fact (you cannot break the orthogonality between those instructions by splitting them) and now it drives me nuts because of generated conflicts due to mix of past/future commits - have a look upon one of my conflicting PR.
from 16bitjs.
In the case where you cannot break the issue into the smallest pieces I'd say yes, but it should be the aim as much as possible. OK I've resolved the merge conflicts in line, and merged.
Don't worry about the git stuff too much, I appreciate your input on the project - you've brought in some really valuable contributions.
from 16bitjs.
Related Issues (20)
- LDV16 B, value probably doesn't work HOT 1
- LICENCE isn't filled in HOT 2
- Replace JMP with a CMP instruction, and rename JMR to JMP HOT 11
- Extend LDR with offset mode HOT 4
- LDV - a better way to deal with 16-bit immediate value HOT 7
- Security issue: code execution when assembling files HOT 2
- Merge SYS, HLT and RET since they no arguments HOT 4
- Trouble to use "node src/assembler" HOT 2
- MOV - using the upper 8 bits to store a sign-extended immediate as an addend HOT 2
- Add optional offset to LDR HOT 1
- Rename LDM to STA HOT 1
- LDA/LDM/LDR/LDP become LDA/STA/LDR/STR HOT 7
- Refactor JLT to JCP (Jump ComPare) HOT 1
- An example (but incomplete) of ISA using almost the same rules of 16bitjs
- Improve debugger HOT 6
- Convert to signed 16 but integer format HOT 1
- SWAP - this pseudo can be done through 3 XORs HOT 10
- STACK - some RISC CPUs don't have a PUSH and POP instructions
- Missing ESLint configuration HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 16bitjs.