Title: MCL6809 project: bug in ANDCC and ORCC instructions · Issue #51 · MicroCoreLabs/Projects · GitHub
Open Graph Title: MCL6809 project: bug in ANDCC and ORCC instructions · Issue #51 · MicroCoreLabs/Projects
X Title: MCL6809 project: bug in ANDCC and ORCC instructions · Issue #51 · MicroCoreLabs/Projects
Description: Hi Ted, Nice projects. I was using the MCL6809.ino and found a problem in the instructions opcode_0x1C () and opcode_0x1CA() for the respective instructions ANDCC immediate and ORCC immediate. Replace UpdateFlags( AND_Common(REGISTER_CC,...
Open Graph Description: Hi Ted, Nice projects. I was using the MCL6809.ino and found a problem in the instructions opcode_0x1C () and opcode_0x1CA() for the respective instructions ANDCC immediate and ORCC immediate. Repl...
X Description: Hi Ted, Nice projects. I was using the MCL6809.ino and found a problem in the instructions opcode_0x1C () and opcode_0x1CA() for the respective instructions ANDCC immediate and ORCC immediate. Repl...
Opengraph URL: https://github.com/MicroCoreLabs/Projects/issues/51
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"MCL6809 project: bug in ANDCC and ORCC instructions","articleBody":"Hi Ted,\n\nNice projects. I was using the MCL6809.ino and found a problem in the instructions opcode_0x1C () and opcode_0x1CA() for the respective instructions ANDCC immediate and ORCC immediate.\n\nReplace `UpdateFlags( AND_Common(REGISTER_CC,ea_data8) );` , with `UpdateFlags(REGISTER_CC \u0026 ea_data8) ;`\nand replace `UpdateFlags( OR_Common(REGISTER_CC,ea_data8) );` , with `UpdateFlags(REGISTER_CC | ea_data8) ;` to solve it.\n\nThe reason is that the AND_Common and OR_Common subroutines will change the NZV flags after the operation.\nIn some cases this may give the wrong result.\nFor instance V flag will be cleared, irrespective of the value of the operands.\nIf all the flags were all cleared before the ANDCC instruction, the zero flag will be set. That should not happen either.\n\nCheers.","author":{"url":"https://github.com/Pieter56","@type":"Person","name":"Pieter56"},"datePublished":"2026-02-02T11:05:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/51/Projects/issues/51"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fe57c3bb-4f71-7649-ea6f-f8a85d015f9f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B7E0:3D0908:BA0534:1064D3D:6A4BE16C |
| html-safe-nonce | b211b45f653aab9d9022961461a1f6f5be1f6d6784c85ee4d54ae417b380c2c9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0UwOjNEMDkwODpCQTA1MzQ6MTA2NEQzRDo2QTRCRTE2QyIsInZpc2l0b3JfaWQiOiI2NDQyMjU1NDk5MDAxNTg2MDI4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a9e64b8e919672431ff642a14e3ee84dd6e1c306bfdd618129719b9e09237d51 |
| hovercard-subject-tag | issue:3885329680 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/MicroCoreLabs/Projects/51/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3902e52f1fe8756a8fd4d783c3f0e639a817fed1ae95668163e9a306c7209ed2/MicroCoreLabs/Projects/issues/51 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3902e52f1fe8756a8fd4d783c3f0e639a817fed1ae95668163e9a306c7209ed2/MicroCoreLabs/Projects/issues/51 |
| og:image:alt | Hi Ted, Nice projects. I was using the MCL6809.ino and found a problem in the instructions opcode_0x1C () and opcode_0x1CA() for the respective instructions ANDCC immediate and ORCC immediate. Repl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Pieter56 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0f5d3ba365b3985d75c32a5957c8635488d58dcf027ae6ae958eee7edaa306a2 |
| turbo-cache-control | no-preview |
| go-import | github.com/MicroCoreLabs/Projects git https://github.com/MicroCoreLabs/Projects.git |
| octolytics-dimension-user_id | 54004369 |
| octolytics-dimension-user_login | MicroCoreLabs |
| octolytics-dimension-repository_id | 201800366 |
| octolytics-dimension-repository_nwo | MicroCoreLabs/Projects |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 201800366 |
| octolytics-dimension-repository_network_root_nwo | MicroCoreLabs/Projects |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 253920ac2dc35b0849cca4633895f1f2e5f03051 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width